con il solito sistema:
codice:$sql="SELECT *, COUNT(campo) AS totale FROM tabella GROUP BY campo ORDER BY totale DESC LIMIT 0,5"; $st=mysql_query($sql) or die(mysql_error()); while ($row=mysql_fetch_assoc($st)) echo "artista: ".$row['campo']." totale: ".$row['totale'];

Rispondi quotando