You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$result=mysqli_query($db, 'SELECT foto.foto, utente.user, COUNT(mipiace.id_foto) AS conteggio_mipiace FROM foto JOIN mipiace ON foto.ID = mipiace.id_foto JOIN utente ON utente.id= foto.utente GROUP BY foto.id ORDER BY conteggio_mipiace DESC LIMIT 1;');