Welcome to WebmasterWorld Guest from 23.22.220.37

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

auto increment

     
4:49 am on Feb 20, 2008 (gmt 0)

Junior Member

5+ Year Member

joined:Feb 6, 2008
posts:94
votes: 0


Ok when I added an auto increment field thing, my rows don't get inserted. But when I delete the auto increment, it will insert. I'm not sure whats wrong, I'm not getting any sort of error, just wont go into it. It is a primary key, INT(10) and auto increment.
5:59 am on Feb 20, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 9, 2005
posts:817
votes: 0


print your query....

when you add new column, your query needs to send one additional column value too. use die(mysql_error())