1,576 Posted Topics
Re: Your question isn't very clear. Are you asking how to insert data into a database in general or are you after more specific? | |
Re: 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... | |
Re: 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. | |
Re: 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 … | |
Re: 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? | |
Re: 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. | |
Re: 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 … | |
Re: 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. | |
![]() | Re: 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 … ![]() |
Re: 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? | |
Re: 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` | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: Sorry Smalls, this doesn't make sense. What are you trying to achieve? | |
Re: 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? | |
Re: 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) | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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(). | |
Re: 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 … | |
Re: Try using .equals() instead. That should accurately compare the actual values of the two variables. | |
Re: 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. | |
Re: 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. | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … | |
Re: You can use this: .label:after { content: '*'; } You can add colors and stuff into that class as well. | |
Re: 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? | |
Re: 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 … | |
Re: "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 … | |
Re: 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 … | |
Re: 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. | |
Re: 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 … | |
Re: Can we have some extra detail please? Your post doesn't make sense. | |
Re: 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. | |
Re: 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? | |
Re: 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 … | |
Re: 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. | |
![]() | Re: 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? ![]() |
Re: 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 … | |
Re: Then ask a colleague at ... <cough> NASA. | |
Re: I think there must be something else wrong beyond that small snippet. Can you post up the whole if statement? | |
Re: 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 … | |
Re: 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 … | |
Re: 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 … |
The End.