Welcome to Geeklog, Anonymous Tuesday, September 17 2024 @ 03:57 pm EDT
Geeklog Forums
1062: Duplicate entry '0' for key 1
Laney
Anonymous
I am getting that very same error, followed byt a table name and the table fields listed with the values.
it says:
insert into orders (.... fields.....) values (.... values....)
it says:
insert into orders (.... fields.....) values (.... values....)
10
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by Laney: I am getting that very same error, followed byt a table name and the table fields listed with the values.
Well, it would have been nice and helpful of you to quote them then ...
bye, Dirk
10
6
Quote
Elaine
Anonymous
I am sorry, I didn't quote them because the values had actually real information in them, like name, address, phone number, email, etc.
However, I was told to do this:
"ChHange the order id field in the orders table to auto-increment."
I haven't tried that yet. I am not the least comfortable with editing the database... I will try it today though, and will post here...
thanks Dirk!
Elaine
However, I was told to do this:
"ChHange the order id field in the orders table to auto-increment."
I haven't tried that yet. I am not the least comfortable with editing the database... I will try it today though, and will post here...
thanks Dirk!
Elaine
11
10
Quote
All times are EDT. The time is now 03:57 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content