I have a quiz form that is connected to my database, however I need to prevent duplicate email entries being inserted. I have tried the following:
//Check for d
Change mysql_result to mysql_num_rows as below first function and try.
$result = mysql_num_rows(mysql_query($sql),0) ;