I want to know how to add a search feature to a websiet. If I want to make a dynamic HTML website, how do I add search? I do not want to use a service or anything. I Just want somethign simple.
If your website uses something like MySQL to store data then yes its possible. But if the pages are just static HTML you will need to use the google thing like Balubalu suggested.
Yeah I know that google has that feature, but I think it kind of looks amateurish. So I should set up a database with all my html pages information in there?
You can do that with Google too and there you can specify those and even you can earn from that Google Search too much with Adsense enabled, there you an specify to have search in to things either being Google or your own site
Three main ones are: Bravenet http://www.bravenet.com/samples/searchen... Customize search and results pages. Site search hosted on Bravenet's server. FreeFind http://www.freefind.com/ Customize search and results pages. Free accounts limited to 3,000 pages or 32 MG of storage. Site search hosted on FreeFind's server. Generates a site map for you. Supports PDF indexing. Google http://google.com/coop/cse/ Customize results page. Unlimited number of searches. Must display Google logo. Google may serve ads on the results page. Each site has a different way of implementing the engine, so you'd just have to follow the instructions at their site.
You can also use the api provided by Yahoo!. It is called BOSS and it's purpose is to allow everybody to make its own search box. Is is quite easy to use, i used it myself in a school project. You can find here the source code, http://www.interfetewebsmart.dap.ro/resurse/BOSS_search.zip it is written in php, or you get an idea from this blog: http://interfetewebsmart.blogspot.com/2008/11/boss-ul-de-la-yahoo.html Hope it is useful