ckennerdale
Programmer
I have set up a database with an add.php file to insert records.
Hewre is the schema of the database
CREATE table whatsnew (
id tinyint(8) NOT NULL auto_increment,
date timestamp(14),
text text NOT NULL,
title tinytext NOT NULL,
PRIMARY KEY (id),
UNIQUE id (id)
);
The problem is thaty wehn I reach 127 records I cannot add any more and get a mesAGE SIMILAR TO-
"duplicate entry "127" for key 1 "
if I clear the database then everything is back to normal
any ideas?
Caspar Kennerdale
Senior Media Developer
Hewre is the schema of the database
CREATE table whatsnew (
id tinyint(8) NOT NULL auto_increment,
date timestamp(14),
text text NOT NULL,
title tinytext NOT NULL,
PRIMARY KEY (id),
UNIQUE id (id)
);
The problem is thaty wehn I reach 127 records I cannot add any more and get a mesAGE SIMILAR TO-
"duplicate entry "127" for key 1 "
if I clear the database then everything is back to normal
any ideas?
Caspar Kennerdale
Senior Media Developer