Forum » » Le coin des codeurs » » Problème de requete Mysql
Posté : 22 févr. 2005 à 07:47
$sql2 = "SELECT SUM(id) AS nb, station FROM stations ORDER BY station ASC";
while ($row = mysql_fetch_row(mysql_query($sql2))) {
echo "La station ".$row[1]." à reçu ".$row[0]." votes<br>\n";
}
Message édité par : Tribal-Dolphin
Cet article provient de NPDS
https://www.npds.org/viewtopic.php?topic=15610&forum=5