Forum » » Le coin des codeurs » » pb d'affichage de requete SQL
Posté : 23 juin 2003 à 21:12 
Perso j'aurais plutôt écrit ceci :
$request = mysql_query("SELECT champ1, champ2, etc FROM match ORDER BY champ3 ASC");
while(list($champ1, $champ2, $champ3, $etc) = mysql_fetch_row($request))
{
echo "<TR>\n"
."<TD>".$champ1."</TD>\n"
."<TD>".$champ2."</TD>\n"
."<TD>".$etc."</TD>\n"
."</TR>\n";
}
Cet article provient de NPDS
https://www.npds.org/viewtopic.php?topic=6216&forum=5