View Single Post
Old 03-09-2004, 04:44 AM   #1
andy_pandy
Green Mole
 
Join Date: Mar 2004
Location: SW London
Posts: 5
10. Insert PhpDig in a website??

Could someone explain how I insert a simple search box on my home page and have the results come up on a page fornatted to match my site ie what script goes where. I have read '10. Insert PhpDig in a website' and am not sure about what is the index.php script and what 'same name template' means. Where should the 'configuration files and libraries' be included. Sorry to sound so thick.


Is this the index.php script?

extract(phpdigHttpVars(
array('query_string'=>'string',
'template_demo'=>'string',
'refine'=>'integer',
'refine_url'=>'string',
'site'=>'integer',
'limite'=>'integer',
'option'=>'string',
'search'=>'string',
'lim_start'=>'integer',
'browse'=>'integer',
'path'=>'string'
)
));
phpdigSearch($id_connect, $query_string, $option, $refine,
$refine_url, $lim_start, $limite, $browse,
$site, $path, $relative_script_path, $template);
andy_pandy is offline   Reply With Quote