hi, I had some problem about mysql error.
I created the table like that.
CREATE TABLE questions (
id tinyint(4) NOT NULL auto_increment,
sectionid tinyint(4) DEFAULT '0' NOT NULL,
question text,
type text,
bin_data BLOB,
filename char(50),
filesize char(50),
filetype char(50),
KEY id (id),
UNIQUE id_2 (id)
);
It worked fine for a little while. But now i can't insert any data into the table. For example, when i input the following
insert into questions(id,sectionid)
values(0,'45');
ERROR 1062: Duplicate entry '127' for key 1
any idea?
thanks in advance
Angela