Come faccio a sapere che il risultato di una query č vuoto??


$result=mysql_query($query,$db);

if($result=="")
echo "Risultato vuoto";


č giusto??