le variabili funzionano bene anche con nomi piu' brevi di quelli che usi tu....codice:$query_rec_nazione_est_Tot = "SELECT nazione, COUNT(ID)as num FROM utenti WHERE nazione != 'Italia' group by nazione ORDER BY num DESC"; $rec_nazione_est_Tot = mysql_query($query_rec_nazione_est_Tot, $conn) or die(mysql_error()); while($row_rec_nazione_est_Tot = mysql_fetch_assoc($rec_nazione_est_Tot) ) { echo $row_rec_nazione_est_Tot['nazione'] . " - " . $row_rec_nazione_est_Tot['num']; }![]()

Rispondi quotando