PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   Phpdigsearch (...) (http://www.phpdig.net/forum/showthread.php?t=204)

Yannick 11-10-2003 10:35 AM

Phpdigsearch (...)
 
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 04:33 PM

Hi. If you set the following in the SEARCH_PAGE, then you will see key value pairs.
PHP Code:

$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.
PHP Code:

print($results['key']); 



All times are GMT -8. The time now is 02:53 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.