[SOLVED] Wierd Error?
Posted: Thu Aug 26, 2004 4:50 pm
I am getting this error:
Here is the surrounding code there:
This is line 45:
Code: Select all
Parse error: parse error, unexpected T_IF, expecting ',' or ';' in page.php on line 45Code: Select all
if ($username == $oldusername) {
$username_check = 0;
} else {
$username_check = mysql_num_rows($sql_username_check);
} // end if check username
if(($username_check > 0)){
echo "Error1"; //include '_alert_users.php';
if($username_check > 0){
echo "Error2"; //include '_alert_users.php';
unset($username);
}
echo "Error3";
exit(); // exit the script so that we do not create this account!
}Code: Select all
if($username_check > 0){