JayDude Posted March 26, 2012 Share Posted March 26, 2012 My php and MySQL scripting works perfectly, but when someone enters data into the php form, using an iPad with Safari browser, all number entries are inserted into the database table incorrectly. It is still a number entry but the number differs substantially from the original input. Note: All other entries, where the individual selects something from a drop-down list and date selecter works perfectly from the same form. Please help me here, since at least 70% of my employees use iPads, thus I need to find a cure for this problem ASAP. Thanks in advance for any help offered. JayDude Quote Link to comment https://forums.phpfreaks.com/topic/259729-all-ipad-safari-number-entries-faulty/ Share on other sites More sharing options...
dragon_sa Posted March 26, 2012 Share Posted March 26, 2012 Without any code we cant do much to help, when it comes to php processing the forms it doesnt matter what browser you use, so we need to see how your form works and how you process it, before we can offer any help. Quote Link to comment https://forums.phpfreaks.com/topic/259729-all-ipad-safari-number-entries-faulty/#findComment-1331164 Share on other sites More sharing options...
onlyican Posted March 26, 2012 Share Posted March 26, 2012 also would help to see what SHOULD be in the database and what appears in the database when entered from iPad. Quote Link to comment https://forums.phpfreaks.com/topic/259729-all-ipad-safari-number-entries-faulty/#findComment-1331165 Share on other sites More sharing options...
cpd Posted March 26, 2012 Share Posted March 26, 2012 Get some code up pal. Are you using any sort of JavaScript for validation at all? Do you run any checks for the browser type before executing your code? Quote Link to comment https://forums.phpfreaks.com/topic/259729-all-ipad-safari-number-entries-faulty/#findComment-1331173 Share on other sites More sharing options...
JayDude Posted March 26, 2012 Author Share Posted March 26, 2012 Thank you all for your help. I found the answer, the incorrect entries that was recorder, were because the webpage back button was used to go back to the previous input form, thus the variable were kept in the $_POST and subsequently entered the data into the database. I will now have to create two exptra buttons on the output page, which tells the user "data successfuly recorded into the database." Namely, "make a nother entry" & "back to home page". Thank you for the interest, as a newby, I will probably make a lot of these mistakes along the way of becoming a pro... Jay Dude Quote Link to comment https://forums.phpfreaks.com/topic/259729-all-ipad-safari-number-entries-faulty/#findComment-1331180 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.