PDA

View Full Version : [PHP]errorino di parsing


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

VICIUS
25-07-2005, 20:21
Manca un ";" alla fine della riga sopra :)

ciao ;)

thefrog
26-07-2005, 12:30
Manca un ";" alla fine della riga sopra :)

ciao ;)

:muro:

grazie :)

VegetaSSJ5
26-07-2005, 17:03
:rotfl:

quando succedono anche a me queste cose mi viene da spaccarmi la testa in faccia al muro... :D