Most likely the datatype you are using for the id field is tinyint, auto 
increment.  The tinyint datatype only goes to 127, so once you get to 127, it 
tries to assign the same value for the next one.  Try changing your id 
datatype to int.  

HTH

Maureen


Brtosz Matosiuk <[EMAIL PROTECTED]> said:

> Hi all
> SQL gives me a strange error and I can't find any info about it. Mayby
> someone of you could give me a clue what is wrong.
> 
> The error is : 'Duplicate entry '127' for key 1'
> Thanks for any help
> ----------
> -= MAdSiuK ([EMAIL PROTECTED]) =-
> "(...) jestesmy nihilistami, w nic nie wierzymy, doslownie w nic(...)"
> 
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 



-- 




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to