I very new to PHP and have looked up at how to build a search facility on our web site.
At the moment it is a simple site with about 7 HTML pages.
I have been asked to build a search facility which enables to the user to type a keyword in a text field, hit submit and then choose from a list of hyperlinks each with a snippet showing what is on that page. I would also like to have the text keyword highlighted on the screen so the user knows where the search has got them- not just jumping to a relevant page with loads of text in so they get lost.
My question is what steps are needed to be taken to have a searchable web site.
Is using a MySQL database with all the text on the site stored in tables neccessary?
Any pointers would be great.