Refined Search

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
helpvid
Forum Newbie
Posts: 1
Joined: Tue Oct 13, 2009 1:05 pm

Refined Search

Post by helpvid »

So I was in the Dreamweaver forum asking this question when I was advised this was the best place to find a solution. I am trying to create a refined search, let me explain.

Say for example I had a website which leased out properties, now I want to give the visitor options to choose from to better refine there search. So I create three drop down menus.

1. One to Select their desired location
2. A second to select there preferred type of property.
3. And lastly one to select the preferred number of rooms.

Now I know how to create these menus in like a drop down, list menu or Jump box in Dreamweaver, however the thing I am not getting "AT ALL" is what refines the search, like how are the results found what is used to filter through all the listed properties to find out which meets the needs of the visitor based on there selection. I would greatly appreciate any Information on this, or to even point me in the right direction to what I should be learning to accomplish this.

Thank you
Mark
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Refined Search

Post by pickle »

Sweet - a referral.

How do you want to refine the search results:
  1. Have the user choose their options, then click "Search". The results that appear satisfy all 3 refinements. [Relatively easy]
  2. Show the user all results, then when they change the value of one of the selects, the search results automatically refine inline [Relatively difficult]
In either case, what you have to do is take the value of each of those three pulldowns, and somehow work it into the search query.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply