Codice PHP:
$query_users=mysql_query("SELECT * FROM (SELECT * FROM utenti ORDER BY id DESC LIMIT $max)as tab order by nickname")or die (mysql_error());  
while(
$dato mysql_fetch_array($query_users)){

in pratica è così ma come ciclo anche i valori di un altra tabella nello stesso while?