You are trying to add a record whose primary key/unique index already exists
in the database.

-Stewart

-----Original Message-----
From: Jacky@lilst [mailto:[EMAIL PROTECTED]]
Sent: 10 April 2001 23:25
To: [EMAIL PROTECTED]
Subject: [PHP] what does this error means?


When Itried to insert a record into a table, It looks like the record was
never inserted into table so I use mysql_error() and the error message show
up:
"Duplicate entry '10' for key 1"
What does that tell me?
Jack
[EMAIL PROTECTED]
"There is nothing more rewarding than reaching the goal you set for
yourself"


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to