I have 20 variables, each holding a number between 1 and 10000.
Is there a simple way of checking that all of the variables hold a unique value, and if not sending the user away.
for example,
if($var1,$var2,$var3...etc are not unique)
{
location wherever.php
exit;
}
The front end should prevent the user submitting the same value twice however I need to check it.
Thanks :)