RE: [PHP] what does this error means?
| From: | Taylor, Stewart | Date: | Tue, 10 Apr 2001 10:52:20 +0000 |
| Subject: | RE: [PHP] what does this error means? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-48000@lists.php.net to get a copy of this message | ||
You are trying to add a record whose primary key/unique index already exists
in the database.
-Stewart
-----Original Message-----
From: Jacky@lilst [mailto:jacky@activelifestyle.com]
Sent: 10 April 2001 23:25
To: php-general@lists.php.net
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
jacky@activelifestyle.com
"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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net