I am getting this parse error all of a sudden. Its unexpected T_STRING, expecting ',' or ';' the line it is referring to would be this bit of code
/* Let's do some checking and ensure that the user's email address or username
does not exist in the database */
$sql_email_check = mysql_query("SELECT email FROM users
WHERE email='$email'");
$sql_username_check = mysql_query("SELECT username FROM users
WHERE username='$username'");
$email_check = mysql_num_rows($sql_email_check);
$username_check = mysql_num_rows($sql_username_check);
if(($email_check > 0) || ($username_check > 0)){
echo "<h1>Please fix the following errors:</h1> <br />";
if($email_check > 0){
echo "<font class='errortext'>The email address you enter is already in use by another member
in our database. Please submit a different Email address!</h1><br />";
unset($email_address);
}
if($username_check > 0){
echo "<font class='errortext'>The username you have selected has already been taken. Please choose a different Username!<br />";
unset($username);
}
include 'register_form.php'; // Show the form again!
exit(); // exit the script so that we do not create this account!
}
I have gone through this over and over and can't find anything wrong. Maybe another pair of eyes could find it.
-Thanks