Quick tip - Don't do what I did

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
Linkjames
Forum Commoner
Posts: 90
Joined: Tue Sep 16, 2003 8:39 am

Quick tip - Don't do what I did

Post by Linkjames »

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.
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

Yeah, good tip actually...you BERK :)

(JOKE)

Mark
Post Reply