Jump to content

What the?!? Duplicate entry '0' for key 1


xcandiottix

Recommended Posts

All of a sudden if I go to submit something to my database I get the error:

 

Duplicate entry '0' for key 1

 

I notice that my last submission into the data base has a primary key of 0 ... even though the one before it is 49. If I go to enter a second submission, I get the error. If I delete the submission with a primary key of 0 I can submit again, but it submits with a key of 0 and i'm back to where I started... what's gone wrong??

Link to comment
https://forums.phpfreaks.com/topic/196192-what-the-duplicate-entry-0-for-key-1/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.