Forums

How To fix the error "1062 - Duplicate entry '0' for key 'PRIMARY'"

dhuizinga1 28 Mar, 2018
Answer
Hi,

Finally i made a simple list of sportclubs... For me a complex thing to make... but I had a list. I can display a single record.. that's oke.
But i made a form, including the responding form field. But when I will edit an entry and I want to update a record I receive the error code ""1062 - Duplicate entry '0' for key 'PRIMARY'. When I search at the forum i only found links to 404-pages.. I'm searching and seraching but i can't find a clue...

I'm looking for someone who can help me with this. When tackled i can further with an other issue, But that later. This updating is the final step in this table and form.
dhuizinga1 28 Mar, 2018
sorry folks... i used the wrong data provider in my save function
This topic is locked and no more replies can be posted.