1: 2: 3: 4: 5:
$q = mysql_query("SELECT email FROM database where email = '$email2' " ); if(mysql_num_rows($q) > 0){ }