PDA

View Full Version : Site Search Engine


melzein
01-30-2006, 08:07 PM
I have a website that consists of multiple pages. I would like to add a search mechanism that will allow visitors to narrow their search to a specific title they type in, instead of tediously moving from page to page.
i have a mysql data base
Is this possible? And if so, any information on how to create would be greatly appreciated.
Thanks!

davidj
02-07-2006, 08:40 AM
i think you can get third party search engines or you could do it yourself

if you have a mysql db then i take it your familiar with PHP

Just create a table in a db which holds all content for your site (like a CMS) you could call this content into the page coz you dont want to write this twice

another field holds the content location (page1.htm page2.php etc)

then just search the content field for the key word your after using a LIKE sql statememt then you can use the content location field to place on your details page for links