Page 1 of 1

Duplicate entry '' for key 2----what does this mean?

Posted: Thu Jan 22, 2004 1:48 pm
by LynneM
Duplicate entry '' for key 2

I'm getting this error when I try to submit more than one form to the database. Can't seem to locate the problem.

Using Dreamweaver MX, PHPadmin, MySQL.

Posted: Thu Jan 22, 2004 1:53 pm
by markl999
It means you have a column that is a primary key/unique key/autoincrement type and you're trying to insert an non unique value.

Posted: Fri Jan 23, 2004 6:21 am
by LynneM
thanks. It was a unique column problem.