sql error. How to add autoincrement id to the INSERT |
[eluser]linderox[/eluser]
I followed by this IBM article http://www.ibm.com/developerworks/openso...index.html but i receive this answer from the mysql database Code: Error Number: 1062 here is a database structure Code: CREATE TABLE `guestbook` ( this is Insert function: Code: function addContact(){ if i use id in this data array it will insert all data succsesfully, but I don't want to care about id number - it is primary auto_increment key. How to solve problem? |
Messages In This Thread |
sql error. How to add autoincrement id to the INSERT - by El Forum - 02-25-2009, 11:59 PM
sql error. How to add autoincrement id to the INSERT - by El Forum - 02-26-2009, 02:34 AM
sql error. How to add autoincrement id to the INSERT - by El Forum - 02-26-2009, 02:47 AM
sql error. How to add autoincrement id to the INSERT - by El Forum - 02-26-2009, 02:50 AM
|