homepage Welcome to WebmasterWorld Guest from 54.166.255.168
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
auto increment
tr8er8

5+ Year Member



 
Msg#: 3579676 posted 4:49 am on Feb 20, 2008 (gmt 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.

 

phparion

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 3579676 posted 5:59 am on Feb 20, 2008 (gmt 0)

print your query....

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved