$valeur) { $requete = $action." TABLE ".$valeur." "; $res = @pmb_mysql_query($requete, $dbh); $nbr_lignes = @pmb_mysql_num_rows($res); if($nbr_lignes) { for($i=0; $i < $nbr_lignes; $i++) { $row = pmb_mysql_fetch_row($res); $tab = array(); foreach($row as $dummykey=>$col) { if(!$col) $col=" "; $tab[$dummykey] = $col; } $result[] = $tab; } } } } return $result; } else { return array(); } } } ?>