This is just an example that demonstrates a smiliar problem I'm having:
in MySQL
CREATE TABLE foo(id int(1) not null auto_increment, txt varchar(255), primary key(id));
Now the id field should be a number between 0 and 9 right?
However I have a PHP script which inserts values into the DB. The SQL is just INSERT INTO foo(txt) VALUES (\"$txt\"). After inserting about 100 records, id has values with 3 digits in them. Should that either cause an error or ovewrite the values or something?