PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   How-to Forum (http://www.phpdig.net/forum/forumdisplay.php?f=33)
-   -   Search box on html page (http://www.phpdig.net/forum/showthread.php?t=261)

rafarspd 12-02-2003 07:08 AM

Search box on html page
 
The site url is 'http://www.rafars.org/'.

The PhpDig search url is 'http://cgi.rafars.org/php/S/search.php'

I would like to put a search box onto a standard html page. I do not mind if after clicking 'Go...' it goes directly to a results page. I would be nice if the results page could be done with a standard html page.

I have no idea how to write a standard html page that will call up php.

Has anyone any examples I could copy from!

p.s. The existing search page is a customised template in the /templates directory.

Charter 12-02-2003 07:25 AM

Hi. Just take a look at the HTML source on the main or demo page here for the HTML. Grab everything between the form tags, inclusive, and then edit the action attribute in the form tag to point to your search page.

rafarspd 12-03-2003 12:46 AM

Here does not have a link!

Charter 12-03-2003 06:25 AM

... HTML source on the main or demo page here (here as in on phpdig.net)...

Also take a look at the HTML source on your page.

rafarspd 12-04-2003 06:37 AM

Sorted thank you.

You do realise that I am 65, white hair and getting on a bit!!
That is my excuse for not understanding things anyway.

ttfn

Sorry , forgot my age. For the young ones - ttfn means 'tata for now', a Tommy Handley saying. (Tata - a Childs word for good-bye.) I suppose that today one would say 'see-ya'.


All times are GMT -8. The time now is 05:36 PM.

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