Hi. It seems that the results that are getting unset somehow might wind up back in the search results. What text output do you get if you do the following in search.php and then search on saga?
PHP Code:
$my_test_array = phpdigSearch($id_connect, $query_string, $option, $refine,
$refine_url, $lim_start, $limite, $browse,
$site, $path, $relative_script_path, 'array');
print_r($my_test_array);