function critere_noeud_dist($idb, &$boucles, $crit) { // [...] // cette construction avec IN fera que le compilateur demandera // l'utilisation de la fonction sql_in() $where = array("'IN'", "'$boucle->id_table." . "$primary'", "'('.sql_get_select('$id_parent', '$table_sql').')'"); if ($crit->not) $where = array("'NOT'", $where); $boucle->where[]= $where; }