Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Customised searching

Status
Not open for further replies.

Gareth1978

IS-IT--Management
Apr 19, 2002
218
GB
I'm hoping that I can create a search box on one page that will search another page on the company intranet. I've found some code that I think should do the job but it doesn't seem to be working.

As a brief outline of what I want to do.

Page A has a search box. I enter Bloggs in it and it goes away and searches page B and displays any matching results.

Does anyone know how to get this to work ?

Thanks as always.

**One day, I will find a question that no one else has answered........and will also know the answer to it ! **
 
Two ways - either the search page does the work, or page B does the work:


1. search page parses page B, inserting tags (e.g. [tt]<span class="keyword">foo</span>[/tt]) around the keywords, then outputs the parsed file.

2. search page simply has a plain link to page B. Page B's code detects the keywords from the Referrer ENV-VAR, and inserts tags accordingly.

---
Marcus
better questions get better answers - faq581-3339
accessible web design - zioncore.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top