954,591 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Adding a search bar to my site

Hi there,

I'm building an online Store as part of my website. The store will have upwards of 40 pages (including category and product pages).

I want to add a search bar to the Store which will allow customers to search for the product they want.

How would I go about doing this? Just looking for advice really.

The store pages are .php pages, and use CSS and HTML also.

All of the store pages are stored in the Store folder. I would like the search bar to only search the store, and not any other part of my site.

www.rjt-online.com/store

Many thanks.

hindu times
Junior Poster
125 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

I dont know PHP, but the basic idea is you need a query to search your database. PHP i know can handle this, but again I couldnt comment on the syntax to use. Coldfusion I know...lol

teedoff
Posting Pro
599 posts since Jul 2010
Reputation Points: 21
Solved Threads: 60
 

Why not use a customized Google search?

http://www.google.com/cse/

floatingDivs
Junior Poster
198 posts since Aug 2010
Reputation Points: 32
Solved Threads: 34
 

zoom search works very well. Especially with php. Very easy to use and has a great GUI interface. Its basically an indexing software. It even builds all your php code for you and even your search form!

teedoff
Posting Pro
599 posts since Jul 2010
Reputation Points: 21
Solved Threads: 60
 

Awesome. Used Zoom search and works great! Thanks.

hindu times
Junior Poster
125 posts since Jul 2010
Reputation Points: 10
Solved Threads: 0
 

Google works well enough, but some site owners dont like that fact that google search takes their visitors away from their site briefly. I have heard that google now has a custom search that doesnt do this, but havent check this myself.

Just remember though, Zoom is free and fully functional, but they limit the free version to 50 pages to index I think. They have paid versions which allow for more pages as well as unlimited number of pages should you need that in the future.

teedoff
Posting Pro
599 posts since Jul 2010
Reputation Points: 21
Solved Threads: 60
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: