1,576 Posted Topics

Member Avatar for muraligowda

Your question isn't very clear. Are you asking how to insert data into a database in general or are you after more specific?

Member Avatar for JorgeM
0
340
Member Avatar for bolfescu

I'm not failar with that framework but I did notice that on line 6 you include an 'or' in the where condition but not in the one above. Surely if you need it in the second, its's needed in the first? Just a thought...

Member Avatar for bolfescu
0
102
Member Avatar for isaaclyta

We don't do homework. We'll help you when you're stuck but you'll need to show some effort first. If you are stuck, post up what code you have done and explain the problem you're having.

Member Avatar for Reverend Jim
-1
209
Member Avatar for EYALSE

Any more explanation beyond 'PhoneGap doesn't work'? I ask because PhoneGap does work, proven and tested by a lot of developers, myself included. I would have suggested either of those two you list because there aren't many other options. A mac VM is apparently an option but the last time …

Member Avatar for Ron_2
0
219
Member Avatar for Sutarusu

Any error logging available? With not much to go it it would appear that the code that reads the parameter and does the SQL query is failing or can't connect. Either thing should be putting out a log hopefully. What platform are you using?

Member Avatar for Sutarusu
0
192
Member Avatar for davy_yg

Your directory doesn't look right to me: C:xampphtdocsportaladministrator2adminupdate_image2.php I'd say you're missing some directory separators.Thats why the image can't be found.

Member Avatar for rtrethewey
0
103
Member Avatar for Kujinn

C++ would be useful, so would java. You could consider C# but do some research into it's usage as a game platform first. A lot of games are written with special game engines now so you could consider things like Unreal and Unity. And graphics are, of course, very important …

Member Avatar for admiri92
0
198
Member Avatar for davy_yg

Your IF statement checks against maxwidth and maxheight but you output maxheight_bn and maxwidth_bn. How do you know they're the same? As the code in the loop is firing either the width or the height is greater than maxwidth or maxheight.

Member Avatar for davy_yg
0
84
Member Avatar for JayGeePee

IE 11 is out now and lower versions of IE are really bad and quirky. I'd say just let it go. You're looking at less than 1% of all users (and thats without taking your target demographic into account) using IE7. You have to ask yourself if its worth your …

Member Avatar for JayGeePee
0
154
Member Avatar for anupish
Member Avatar for elvi.1221
Re: HTML

We'll need more than that to help you out. What is the CSS that goes with that class? Or are you using something like font-awesome?

Member Avatar for pixelsoul
0
69
Member Avatar for OMER AHMED

Its a little more advanced than your example but you could screen scrape your website page and get the value of the textbox that way and then check it against your project textbox. But you won't find anything as simple as `if me.textbox1.text=www.mywebsite.com.textbox1.text then`

Member Avatar for djjeavons
0
154
Member Avatar for Simunji

You can use a SMS provider to host a phone number that the SMS's get sent to (like Twilio for example). From there, the contents of the SMS get sent to a webservice at a URL you control, like posting data in a form, and the website can then do …

Member Avatar for hericles
0
88
Member Avatar for Apurva1026

That error means you haven't listed your columns correctly and you're trying to insert more or less fields than you have specified columns. You list image, thumb, pid and link as columns but have only listed $val, $avl1 and $pid to match them.

Member Avatar for hericles
0
534
Member Avatar for RobertDecousta

A mobile website is a site that has been built using responsive design and can adapt to varying screen sizes and still look good and function correctly. A website that is not mobile friendly will try to present itself as it appears on a desktop screen to a phone or …

Member Avatar for hericles
0
107
Member Avatar for asaidi

That query seems to be saying you only have 6 rows in the database with a value of 'van1'. I would have to say it is correct as the query is pretty straight forward. Have a close look at your data and see whats going on. Is lower case an …

Member Avatar for asaidi
0
142
Member Avatar for AmrMohammed

Are you referring to calculating the EAN-13 check digit to check for errors? If that is what you are after, EAN check digits are calculated by summing the odd position numbers and multiplying by 3 and then by adding the sum of the even position numbers. Numbers are examined going …

Member Avatar for AmrMohammed
0
128
Member Avatar for Smalls
Member Avatar for matrixdevuk

It looks like padding on the view is moving it slightly to the left. What code do you have specifying where the view is positioned in the main window?

Member Avatar for matrixdevuk
0
271
Member Avatar for Method_dev

You can read the plist into an NSData object and then convert that into an NSDictionary. This SO question has a couple of examples [Click Here](http://stackoverflow.com/questions/1072308/parse-plist-nsstring-into-nsdictionary)

Member Avatar for Method_dev
0
358
Member Avatar for krishkommireddy

Do you mean you want to develop a web app (HTML5) without Android code or do you literally want your app to be code free? Because that doesn't make too much sense. It's like trying to write a book without putting in any of those pesky words.

Member Avatar for cool_zephyr
0
218
Member Avatar for jamie518

Well, first off you should probably know that asp (active server pages) is pretty out-dated now. The windows modern version is either web forms (.aspx) or MVC (model-view-controller). Or you could learn PHP, Rails or try out a javascript based option like AngularJS. But whatever you pick there are plenty …

Member Avatar for JorgeM
0
181
Member Avatar for earnz

Step one would be to design and build the database. Once thats done you will need a webservice for the app to talk to that pushes the data to the database. Then you can build the app and make sure it can connect to the webservice and store data in …

Member Avatar for hericles
0
184
Member Avatar for Kewne

In PHP :: is used to denote a static class i.e. one that does not need the class to be instantiated first. If the method is not static you need to instatiate the class and then access the method via $class->someMethod().

Member Avatar for Kewne
0
197
Member Avatar for Mr.M

Not overwriting the existing text is the least of your problems. Opening the file with the append flag specified solves the issue of overwriting. That makes sure the new data is added to the end of the file. In most cases it is a boolean added to the end of …

Member Avatar for JamesCherrill
0
11K
Member Avatar for Gl753

Try using .equals() instead. That should accurately compare the actual values of the two variables.

Member Avatar for stultuske
0
211
Member Avatar for Kewne

If it says the variable $wpdb is null then it's null. I assume you are setting $wpdb somewhere else. You say you've defined it but have actually instantiated it? You'd need to have a look at that code then as that is where your troulbe most likely lies.

Member Avatar for Kewne
0
2K
Member Avatar for Zahid_6

You'd be better off finding a free/cheap inventory management system or accounting package. Then all of the creation work has already been done for you by people in the business. Plus you'll gain access to all of the features, reporting and the like, that you're database won't have.

Member Avatar for zahidmehmood
0
211
Member Avatar for kazkuzzer007

Well, that depends on the platform you used e.g. wordpress, drupal, etc, as they all have their specific vulnerabilities. Then there is the database you use and what vulnerabilities it has. Those are vulnerabilities you can't do much about yourself apart from applying patches/fixes as they become available and keeping …

Member Avatar for hericles
0
103
Member Avatar for panjiasmara

Do you know what browser they were using? I highly doubt it is the operating system that doesn't handle the javascript correctly. I'm going to guess they were using Safari. You could have tried jQuery instead too. That would have saved doing every div manually as you have done as …

Member Avatar for Troy III
0
3K
Member Avatar for altjen

You just need to do another query after the user is successfully logged in that retrieves their details. You should be storing the user ID i.e. the key for users table in session so you can access it when you need to make calls to the database. That way, after …

Member Avatar for altjen
0
244
Member Avatar for Priti_P

You can use this: .label:after { content: '*'; } You can add colors and stuff into that class as well.

Member Avatar for hericles
0
179
Member Avatar for jez9

The only thing I can see is that you're missing the final semi-colon (;) on the statement. If it isn't that, can you provide the actual error message?

Member Avatar for jez9
0
320
Member Avatar for uzair_2

When the user logs in return their category then: `SELECT category WHERE name = ?name AND password = ?password;` Then a simple IF statement decides what form to send them to based on the returned category and redirects as needed. As an added advantage you don't need the user to …

Member Avatar for Mr.M
0
169
Member Avatar for SpottyBlue

"Data could not be updated. Please try again" sounds like it is an error message coming from your own code. If it is being generated via a try/catch block then catch the actual error text of the exception and have a look at that. It will provide real information on …

Member Avatar for SpottyBlue
0
135
Member Avatar for man.chester.581
Re: ios

You have a few options. The best, short of an actual mac, is to run a virtual mac OS X on your PC. I haven't done this myself and some people have noted that it tends to be a performance killer. You'd need a high end machine to get good …

Member Avatar for JamesCherrill
0
257
Member Avatar for Khan2014

After you've started it,if it still doesn't work, look for an error log file in the server directory. It'll tell you what went wrong.

Member Avatar for Khan2014
0
201
Member Avatar for jez9

If you intend to do it with .Net then you would need to post back the button click to the server side code. There you would instantiate a class variable or session variable that held the current count and on each postback when the button was clicked you would increment …

Member Avatar for jez9
0
11K
Member Avatar for harishprakash
Member Avatar for Sws_1

Its similat to ternary statements you'll see in other languages. If the statement is true use the first value, if its false use the second. So, in the example of the first IF above if f.providerId = $userId then f.requestId is supplied to the ON statement, otherwise f.providerId is used.

Member Avatar for hericles
0
208
Member Avatar for ankita_6

More info please. Are you trying to do this on the same page as the drop down selection is made or do you want to access the selected value at another point in the process e.g. in the cart? And what page are you referring to? product view, checkout, registration?

Member Avatar for hericles
-1
45
Member Avatar for Heanre

Very tricky question with, going by the US courts, a leaning toward it being a bad idea. But, it all depends on what you are scraping (facts vs data), how you are scraping it (have accessed a private page) and how much harm you are doing to the affected party …

Member Avatar for Heanre
0
152
Member Avatar for LONGWAY

not being familar with bxSlider myself I would suggest looking at the console log in the browser to see if any javascript errors are being generated.

Member Avatar for LONGWAY
0
166
Member Avatar for DaniWebUser_1

And I say kudos to your achievement. Persistence is the key indeed. But, and I don't mean to belittle what you've done, true knowledge comes when you know WHY moving that line of code made the difference. Have you solved that particular question?

Member Avatar for DaniWebUser_1
0
581
Member Avatar for jez9

You use a dataAdapter to fill a dataTable (or a dataSet) with the result of the query. In your case you would end up with a table with 4 rows, each one holding the state of one of the buttons. You then do a foreach over the dataTable getting the …

Member Avatar for jez9
0
161
Member Avatar for PerpyProgrammer
Member Avatar for divinity02

I think there must be something else wrong beyond that small snippet. Can you post up the whole if statement?

Member Avatar for hericles
0
192
Member Avatar for coder91

Are you storing the logged in user's user name anywhere? In a session variable for instance? Withoutknowing what you are doing to persist the user name after a successful login there isn't much advice we can give. For example, User.Identity.Name doesn't get populated with a value without you making it …

Member Avatar for JorgeM
0
166
Member Avatar for sergio_pb

If your server IP is static and accessible to the outside world the connection string should work if it is set up correctly. You will need to include the port number that the server is on in most cases. What is the exact error the user gets and what does …

Member Avatar for hericles
0
117
Member Avatar for mjbor1

What is the link you are trying to pass? I haven't used the FB SDK for awhile but I think I remember the link had to be acessible i.e. not behind a firewall or on your local machine for FB to accept it. Apart from that, is the format of …

Member Avatar for mjbor1
0
1K

The End.