View Full Version : Help creating a search box

06-04-2007, 02:56 PM
What is the best way to create a search box on a website?

I want the user to be able to type in keywords and have a page display the results and relevant links.

I'm guessing you need to create a form first, then maybe have a dynamic page that scans your entire web directory once a day? Then have the form call those results?

Iím new to PHP so a beginners guide would be great
Any tips or links to articles would be appreciated.

06-10-2007, 12:41 AM
are you familiar with MySQL? Does your internet provider have MySQL available to you? Are you familiar with google search?

My knowledg in this area is rather limited, but I may be able to help a little bit.

06-10-2007, 01:47 AM
If you just wanted to use a free script, you could search through Hotscripts.com (http://www.hotscripts.com) or this site: http://cj-design.com/products/free_downloads/php_scripts/cjwebsitesearch

for a decent free one (which uses text files instead of MySQL).

If you just wanted to make your own, then you may want to get the basics by looking here:


Hope this helps.