PDA

View Full Version : Phpdigsearch (...)


Yannick
11-10-2003, 11:35 AM
Hello,

Documentation include in PHPDig don't explain parameters and return value for phpdigsearch function ...

Could you explain to me ? I want to use this in 'array' mode and i don't understand how do this ....

Charter
11-10-2003, 05:33 PM
Hi. If you set the following in the SEARCH_PAGE, then you will see key value pairs.

$results = phpdigSearch($id_connect, $query_string, $option, $refine,
$refine_url, $lim_start, $limite, $browse,
$site, $path, $relative_script_path, 'array');
print_r($results);

The following will print out the specific value of key to use in a custom page.

print($results['key']);