I need some sort of PHP control to ensure a user cannot create more than one list in the table below with the same name, what is the best way to do this?
CREATE TABLE `lists` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(32) collate latin1_general_ci NOT NULL,
`dt` datetime NOT NULL,
`user_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`)
);