$sql_username_check = mysql_query("SELECT touser FROM mail WHERE touser='$username'"); $mails = mysql_num_rows($sql_username_check); if $mails > 0 { something }
Whats wrong here? thnx
You might want brackets () around $mails > 0 .
its ok i fixed thnx anyway 🙂