
Forum » » Le coin des codeurs » » [Résolu] - mettre en variable une seul donnée d'une table mysql
Posté : 13-03-2005 10:17 
$req2 = mysql_query("SELECT champ FROM table WHERE ID=1");
list($champ) = mysql_fetch_array($req2);
echo $champ;
Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=15877&forum=5