Re: New search related question
| From: | tedd | Date: | Mon, 04 Feb 2008 21:55:58 +0000 |
| Subject: | Re: New search related question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-268685@lists.php.net to get a copy of this message | ||
At 2:48 PM -0500 2/4/08, Jason Pruim wrote:
Hi Everyone! :) Just a quick question, I've done some googling but haven't been able to find what I need... I am looking at doing a search function for someone's website, the website is just static HTML files, and she doesn't want to redo the entire website to make it dynamic. What I am thinking (And please correct me when I'm wrong!) is that if I maintain a database with keywords in it, and links to the pages it exists on, I can implement the search easily enough without redoing the entire website. IE: Someone searches the database for "Flowers" and flowers are the main product on: "Flowers.html" and "fakeFlowers.html" so on the page, I would display: Search Term: Flowers Search Results: link.to.site/Flowers.html link.to.other.site/fakeFlowers.html Is there anything wrong with the way I'm thinking? Or is it that there is a better way to search through a static HTML site?Try this: http://sperling.com/examples/search/ It works for me. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com