Log in

View Full Version : Making a search box for a website



Jared339
04-27-2009, 11:50 PM
Hello I am new to the forums and looking to make a search box for my website.

I have a database of values set in the layout:

Example

Gates, Bill Mr $99,999.99

I would like to be able to have a form on my site where people could type in the first letters of their first or last names and be taken to all the information that applies on a new page in a professional layout.

Could someone please point me in the right direction.

Thanks in advance.

X96 Web Design
04-27-2009, 11:54 PM
Depending on if you want JavaScript or PHP, there's a lot of options...

A simple script that I recommend is this one by JavaScript Kit (http://www.javascriptkit.com/script/script2/jse/index.shtml), it's very lightweight and customizable, but won't work with PHP databases (without a lot of configuration, unfortunately)

For PHP, don't know of any off the top of my head, but definitely search Google for "Free open source PHP search engine" and you're bound to find something useful...

Hope this helps!

// X96 \\

Jared339
04-28-2009, 12:09 AM
Thank you very much for your help. :)

X96 Web Design
04-28-2009, 12:11 AM
You're welcome! Glad to help!

// X97-8 = X96 \\