PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   10. Insert PhpDig in a website?? (http://www.phpdig.net/forum/showthread.php?t=626)

andy_pandy 03-09-2004 04:44 AM

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);

Charter 03-09-2004 08:31 AM

Hi. If you are looking to add a form to the main page of your site, just take a look at the HTML on the main page here.

andy_pandy 03-09-2004 09:00 AM

Thanks Charter
That was very obvious... I think I was looking for something more complicated... as usual!


All times are GMT -8. The time now is 10:00 AM.

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