PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 12-02-2003, 08:08 AM   #1
rafarspd
Orange Mole
 
rafarspd's Avatar
 
Join Date: Nov 2003
Location: High Wycombe, Bucks. UK
Posts: 35
Question 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.
__________________
Regards
Bob Finch
rafarspd is offline   Reply With Quote
Old 12-02-2003, 08:25 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
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.
__________________
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
Old 12-03-2003, 01:46 AM   #3
rafarspd
Orange Mole
 
rafarspd's Avatar
 
Join Date: Nov 2003
Location: High Wycombe, Bucks. UK
Posts: 35
Here does not have a link!
__________________
Regards
Bob Finch
rafarspd is offline   Reply With Quote
Old 12-03-2003, 07:25 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
... 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.
__________________
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
Old 12-04-2003, 07:37 AM   #5
rafarspd
Orange Mole
 
rafarspd's Avatar
 
Join Date: Nov 2003
Location: High Wycombe, Bucks. UK
Posts: 35
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'.
__________________
Regards
Bob Finch
rafarspd is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search box on every page? chrisdgreen How-to Forum 3 07-29-2005 10:27 AM
Adding search box to every page (cont'd) rogerh How-to Forum 1 10-11-2004 12:08 PM
search box? WebDiva 2.0 How-to Forum 3 08-19-2004 01:58 PM
Adding search box to every page Psycho1 How-to Forum 7 04-25-2004 09:04 AM
Returning from a html page to a php page. rafarspd How-to Forum 2 12-04-2003 04:23 AM


All times are GMT -8. The time now is 11:16 PM.


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