PHP Error T_STRING

Plalgedingibe

New Member
\[code\]Parse error: syntax error, unexpected T_STRING in /opt/lampp/htdocs/Community/register.php on line 84\[/code\]I get that error, here is line 84 of my code.\[code\] if ($firstname && $lastname && $username && $email && $password && $repassword){ if ($password == $repassword){ if (strstr($email, "@") && strstr($email, ".") && (strlen($email) >= 6)) { require("scripts/connect.php"); $query = mysql_query("SELECT * FROM users WHERE username='$username'); $numrows = mysql_num_rows($query); if ($numrows == 0){ $query = mysql_query("SELECT * FROM users WHERE email='$email'"); } } }}\[/code\]Any ideas as to how I can fix this?
 
Back
Top