shabadu27 Posted December 10, 2010 Share Posted December 10, 2010 I'm new to PHP/MySQL and have been searching high and low for a solution to this... When using my PHP script to insert a row into the database it errors out but does not give me a specific error. When I use the MySQL command line client I can insert the first, second, third, or any number of rows without a problem. What I don't understand is, once I have inserted a row using the command line client, my PHP script will insert rows without issue. So my question is, what is it about the first row being inserted that makes it so special? One of the columns in the table is an AUTO_INCREMENT field, so i'm guessing that has something to do with it? Quote Link to comment Share on other sites More sharing options...
shabadu27 Posted December 10, 2010 Author Share Posted December 10, 2010 Consider this solved. I was calling a rogue function that wasn't working properly in my PHP script. Quote Link to comment 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.