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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to