php-db | 2001062
Date: 06/28/01
- Next message: Jason Stechschulte: "Re: [PHP-DB] MySQL Error???"
- Previous message: Saul Diaz Carrillo: "Re: [PHP-DB] MySQL Error???"
- In reply to: Brian Grayless: "[PHP-DB] MySQL Error???"
- Next in thread: Jason Stechschulte: "Re: [PHP-DB] MySQL Error???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
on 6/27/01 9:24 AM, Brian Grayless at bgrayless <email protected> wrote:
> "1062: Duplicate entry '127' for key 1"
> I wrote a great bookmark management program that works fine, but everytime I
> insert bookmarks, I insert somewhere over 120 and I start getting this
> error, and it won't add them anymore. Any suggestions???
It looks like you set your key column as a TINYINT type rather than say, an
INT. Try ALTER'ing that column type to INT and see if it works.
Sincerely,
Paul Burney
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Paul Burney
Webmaster && Open Source Developer
UCLA -> GSE&IS -> ETU
(310) 825-8365
<webmaster <email protected>>
<http://www.gseis.ucla.edu/>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jason Stechschulte: "Re: [PHP-DB] MySQL Error???"
- Previous message: Saul Diaz Carrillo: "Re: [PHP-DB] MySQL Error???"
- In reply to: Brian Grayless: "[PHP-DB] MySQL Error???"
- Next in thread: Jason Stechschulte: "Re: [PHP-DB] MySQL Error???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

