website logo
Auteur
avatar
Tito

Forum » » Le coin des codeurs » » [Résolu] - mettre en variable une seul donnée d'une table mysql


Posté : 13-03-2005 10:17 icone du post


$req2 = mysql_query("SELECT champ FROM table WHERE ID=1");
list($champ) = mysql_fetch_array($req2);
echo $champ;


Voilà Voili

Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=15877&forum=5