$queryc = "SELECT COUNT(*) as totale FROM news WHERE online = 1";
$result2 = mysql_query($queryc) or die(mysql_error()); $record2 = mysql_fetch_assoc($result2)
echo $record2["totale"]

Ma non mi scrive nulla perchè?