Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 07:54 am EST
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....)
13
10
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
14
9
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
14
13
Quote
All times are EST. The time is now 07:54 am.
- 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