che errore ti da?

ah...metti gli apici

while ($row = mysql_fetch_array($result))
{
if($row['utente'] == "Federico"){

echo $row['id']." - ".$row['utente']."
";

}else{


echo $row['id']." - ".$row['utente']."
";

}
}