mgtm3
asked on
i get this error eatch time i try to insert this Duplicate entry 'http://kljvxvs.com/files/kk2' for key 2
why when i try to insert data to mysql i get this error
Duplicate entry 'http://kljvxvs.com/files/kk2' for key 2
if try to insert http://kljvxvfdsfdsfds2 for key 2
why is this?
Duplicate entry 'http://kljvxvs.com/files/kk2' for key 2
if try to insert http://kljvxvfdsfdsfds2 for key 2
why is this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
unless I'm mistaken, I think key 2 means it's the second column of the table, which is probably the one that contains the string "http...."
ASKER
yes one of them is uniqe but the thing that i am tring to insert does not exest in the databse
Perhaps showing some code, the table structure and table content could be of help.
Are you also sure there is no other field which is the same? Like a key or something?
Are you also sure there is no other field which is the same? Like a key or something?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER