terms = preg_split('/[\s]+/', $other_query, -1, PREG_SPLIT_NO_EMPTY); $query = test_other_query($n_resume_flag, $n_gen_flag, $n_titres_flag, $n_matieres_flag, $other_query, $search_type); // si la recherche match/against n'a rien donné, on force en regexp if($query['type'] == 1 && $query['nbr_rows'] == 0) $query = test_other_query($n_resume_flag, $n_gen_flag, $n_titres_flag, $n_matieres_flag, $other_query, $search_type, TRUE); $ourSearch->requete = "SELECT * FROM notices WHERE ${query['restr']} ORDER BY ${query['order']}"; $ourSearch->nbr_rows = $query['nbr_rows']; $ourSearch->results_per_page = $results_per_page; $ourSearch->display = $query['display']; } if($ourSearch->nbr_rows == 0) { print $other_search_form; error_message($msg[4043], $ourSearch->display." : ".$msg[1915], 0, 'javascript:history.go(-1)'); } else { // fabrication de l'objet transmis de pages en pages $obj = urlencode(serialize($ourSearch)); print pmb_bidi("
<debug mode>";
print '
$ourSearch->requete : '.$ourSearch->requete;
print '
$ourSearch->nbr_rows : '.$ourSearch->nbr_rows;
// print '
$ourSearch->nb_results : '.$ourSearch->nb_results;
print '
$ourSearch->results_per_page : '.$ourSearch->results_per_page;
/* print '
$ourSearch->sql_sep : '.$ourSearch->sql_sep;
print '
$ourSearch->on_resume : '.$ourSearch->on_resume;
print '
$ourSearch->on_contenu : '.$ourSearch->on_contenu;
print '
$ourSearch->accept_subset : '.$ourSearch->accept_subset; */
print '
$ourSearch->display : '.$ourSearch->display.'
object serialized :
";
$result = serialize($ourSearch);
print "
$result
";
print '
$obj content (sent to hidden form) :
'.$obj;
print '
</debug mode>