close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Methods for building dynamic filter searching

Thread began 9/04/2012 11:46 am by alnico431299 | Last modified 9/07/2012 2:00 pm by alnico431299 | 3438 views | 6 replies


Methods for building dynamic filter searching

I am investigating methods for building dynamic filter searching such as Zappos, Amazon (I guess they call these faceted searches) with php/mysql.


1. I have a list of search parameters (checkbox’s, radio’s, etc), that belong to filterForm. A search query would be built by adding or subtracting parameters as they are selected and query the server upon each selection.
2. I also need to get the count of hit/matches for each parameter in the filterForm, regardless if they are selected or not.

So essentially, I need to query for matches and return a dataSet AND simultaneously get each parameter count for the active dataSet.


1. Request two separate queries in succession, I believe this is wasteful and prone to inaccurate counts?
2. Use a Stored Procedure (capable of returning two dataSets from same Select)?
3. Request match dataset and create session variable containing array of parameter/counts?
4. Use php to split the dataset into two?

These are just ideas; I am not sure what is at all possible here…

Looking for direction, suggestions and how this may be tied into DataAssist; if at all?


Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...