Pkoi ca marche pas ca?
$reqA=mysql_db_query('bddd',"SELECT Designation, Type FROM menu_u WHERE Code_UTPR='$Code_UTPR' AND Type='$Id' AND Designation='$Libelle'",$db_link);
while ($row3= mysql_fetch_array($reqA))
{ //=============================2
$id=$row3['Type'];
$designation=$row3['Designation'];
$array=array("$id" => "$id" );
print_r($array);
$reqY=mysql_db_query('bddd',"SELECT Id_Poste,Libelle_Menu FROM parammenu WHERE Id_Poste NOT IN '$array'",$db_link);
//(NOT IN ou bien "!=" C pareil ca marche pas)
while ($row5= mysql_fetch_array($reqY))
{ //==004
$Id3=$row5['Id_Poste'];
$Lib3=$row5['Libelle_Menu'];
...
Message édité par chrono le 31-12-2002 à 17:09:41