Crazydog
01-04-2007, 02:22 PM
Currently, if someone enters data in a unique column that is not unique, it just looks like it was inserted, but it wasn't.
How do I do something like this:
if ([Data inserted] is not unique){
echo '';
}
I know I could do a foreach loop and check it against every value, but since MySQL already knows it's unique, how do I tell this to the user?
How do I do something like this:
if ([Data inserted] is not unique){
echo '';
}
I know I could do a foreach loop and check it against every value, but since MySQL already knows it's unique, how do I tell this to the user?