View Single Post
Old 03-24-2004, 09:03 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. There is a tutorial here on how to include files in the templates, but if you want to have your own page from scratch, just do the following.

In search.php use 'array' rather than $template, assigning the output from phpdigSearch to a variable, like so:
PHP Code:
$the_output phpdigSearch($id_connect$query_string$option$refine,
              
$refine_url$lim_start$limite$browse,
              
$site$path$relative_script_path'array'); 
Afterwards add the following line:
PHP Code:
print_r($the_output); 
Then using a known keyword, do a search via URL (http://www.domain.com/dir/search.php?query_string=keyword) to see all the key value pairs that could be used.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote