View Single Post
Old 12-20-2005, 04:30 PM  
Phoenix66
Confirmed User
 
Join Date: Oct 2002
Posts: 823
Just omit the autoincrement field from your query, it will be generated automatically when you insert other fields.

Use mysql_insert_id() to obtain the value of that field right after the insert query, if you need it...
__________________
Adult Niche Traffic Exchange
Phoenix66 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote