voilà, j'ai un truc comme ça :
$cat = 5;
$sql = "select id,truc,truc2,truc3 from truc_tbl where truc1=$cat order by nom_site";
et ça marche poooo !!
comment on fait pour mettre une variable après truc1 ?? 
Message édité par LexTuhor le 07-08-2002 à 23:22:02