09-20-2010, 03:17 AM
|
#1 (permalink)
|
|
The Acquainted
Join Date: Feb 2008
Posts: 107
Thanks: 3
|
1062 : Duplicate entry 'xxx' for key 2
Hello,
When I try to mysql insert values with same names, it encourages this error. When I looked at the table column, I see that the row id is always "1" and it doesnt let to add same entry.
My question is, how can I add an auto increment id to that column for adding same entry names?
|
|
|