thefrog
25-07-2005, 19:52
ho questo codice:
$check = mysql_query("select username from users where username=\"$user\"");
$returned = mysql_fetch_array($check)
if(empty(returned)) ***********************
{
header("Location: error-userexists.php");
Die();
//echo "Your account has been created successfully";
}
mi da questo errore
Parse error: parse error, unexpected T_IF in actionregister.php on line 105
la linea 105 è quella con gli asterischi
cosa c'è di sbagliato ragazzi?
grazie
$check = mysql_query("select username from users where username=\"$user\"");
$returned = mysql_fetch_array($check)
if(empty(returned)) ***********************
{
header("Location: error-userexists.php");
Die();
//echo "Your account has been created successfully";
}
mi da questo errore
Parse error: parse error, unexpected T_IF in actionregister.php on line 105
la linea 105 è quella con gli asterischi
cosa c'è di sbagliato ragazzi?
grazie