Hi, I'm having a problem with an upload/download file script I made. One column of the row inserted is 'id', which is on auto_increment and primary.
Everything has been wokring fine until I got to the id no.127 (127th file uploaded), when another file is trying to be uploaded I get a message that says something about a duplicate key entry '127'. I suspect it's trying to insert the id 127, but it's already in the db, and if it is I don't know why because it's on auto_increment. Anyone?
Thanks in advance.
EDIT: It was set to tinyint, ty.