ciao a tutti, avrei questo codice ma quando tento di farlo andare mi da
Parse error: syntax error, unexpected T_VARIABLE in /home/mhd-01/******.com/left2.php on line 63
il codice è :
Codice PHP:
<?
$AA = "SELECT user, ee FROM INGRESSI LIMIT 10";
$BB = mysql_query($AA);
while ($row = mysql_fetch_array($BB)) {
if ($row['ee'] = 0) {
$sexx = "SELECT SESSO FROM USERS WHERE USERNAME = '$row[user]'"
$query = mysql_query($sexx) or die(mysql_error());
$fetch = mysql_fetch_array($query) or die(mysql_error());
if ($fetch = "Femmmina") {
$sex = "a";
} else {
$sex = "o";
}
echo "<font color='white'>".$row['user']." è entrat".$sex."</font>
";
} else {
echo "<font color='violet'>".$row['user']." è uscit".$sex." </font>
";
}
}
?>