03-10-2009, 02:14 PM
|
#1 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
Mysql error
Hi!
What's causing this error? :S
Quote:
INSERT INTO `images` ( `image_id` , `image_productid` , `image_src` , `image_front` )
VALUES (
NULL , '', 'includes/images/palmyra10sl.jpg', ''
)
#1062 - Duplicate entry '127' for key 1
|
I have 127 entries in that table. I'm adding another entry, manually via phpmyadmin. The image_id is set to primary key. When I add the entry, I've tried leaving image_id blank(meaning it SHOULD add it to the next available key), and also tried putting it to 128, but it doesn't work either :S:S
__________________
|
|
|
|