Perchè non utilizzare un mysql_num_rows($query)?