ciao,

Codice PHP:
//query
$conta mysql_query("SELECT COUNT(id) FROM utenti");
$res_count mysql_fetch_row($conta);

// numero totale di records
$tot_records $res_count[0];