![]() |
SQL insert help
Hello, I came across an error while trying to insert a row into a sqlite database, which the database is named 'loot'. I get an error outputted by sql in rc:
PHP Code:
PHP Code:
|
Not possible to tell without seeing the table structure but I'd guess you're trying to insert a duplicate value into a column with a UNIQUE constraint/index.
|
That first row, I just typed in the information manually to see what it would look like.
http://img845.imageshack.us/img845/1...gggggggggg.png Don't know if this helps: PHP Code:
|
It's because you have account as your primary key, which automatically makes it unique.
|
| All times are GMT +2. The time now is 09:10 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.