how to prevent duplicate enteries
I how can I prevent duplicate enteries in mysql database.
I set slim browser to auto refresh every second, as I was hit n trying
codes, learning my myself from online sites.
suddenly i saw in phpmyadmin theat there were 44 duplicate entries already. Ho can i make an error appear if similar entry exists.
//create table record
("CREATE TABLE record(
id INT AUTO_INCREMENT NOT NULL,
names VARCHAR (33),
email VARCAR (33),
notes VARCHAR (99))");
echo 'table record created!!';