Quick tip - Don't do what I did
Posted: Thu Sep 18, 2003 2:11 pm
Ok, I have spent the best part of half a day trying to figure out why my INSERT INTO line refused to insert into my database. Finally, to figure out where I was going wrong, I fed my INSERT INTO MySql. Turns out I haden't set id to auto_incriment. Bugger.
So, tip there, if some code is not working with your database, try feeding it into the database by hand and check your error messages. Oh, and just don't be a total berk, like me.
So, tip there, if some code is not working with your database, try feeding it into the database by hand and check your error messages. Oh, and just don't be a total berk, like me.