When my users fill in this form on our site their IP gets put in the database along with the other data....
How could I make it check to see if their IP is already in the database?
EDIT: Atm I've got:Any help appreciated.PHP Code:$check = mysql_query("SELECT `ip` FROM `entries` WHERE `ip` = '$ip' ;");
if(isset($check)){ die('You cannot enter more than once!'); }





Reply With Quote








