Sites that have search scripts that will search their own site as opposed to a google addon almost always search their database where they store much, if not all, of their site content.
I have a search script on my own site, which I have worked off and on for a few years before I got it to where I wanted it. When I began work on it I started with a,
remove duplicates script from this page:
http://www.designplace.org/scripts.php?page=1&c_id=25.
It is very simple and is not perfect, but it should help you get started.
Before you do anything, though, you need to get a database set up for your site, preferably MySQL. It can be difficult to create, but unlike HTML, PHP, or javascript, there are very few things you need to learn. When I say that it is difficult, I mean it is difficult to understand conceptually. MySQL is about storing and retrieving data. It is like a glorified spreadsheet. The geratest benefit of MySQL is that it can sort and process your data in many many ways, which becomes increasingly important the more data you work with.
I'm sure there are several people here on this site who will be happy to help you along the way to creating a search script. I have to say that creating a search script is rather complicated and involves many different aspects of php and MySQL, but, again, there are people here to help.
Bookmarks