PHP Classes

Multiple Checkbox Filtering

Recommend this page to a friend!

      Top level forums  >  PHP Specialists  >  General  >  Multiple Checkbox Filtering  
Subject:Multiple Checkbox Filtering
Summary:Trying to Sort Mysql Data via multiple checkbox seleciton
Messages:2
Author:michael
Date:2011-11-30 11:27:03
Update:2012-06-14 17:07:46
 

  1. Multiple Checkbox Filtering   Reply   Report abuse  
Picture of michael michael - 2012-06-10 22:49:07
Hi all, I am trying to compile a list of multiple checkboxes that will provide a filtering option for users to narrow down search results.

I have all my data stored in mysql database and have developed different queries in which I wish to apply to each checkbox. I.e Price variations 0-500, 500-1000. I am not quite sure how to use checkboxes to retrieve these queries from the database and most of all combine them when more than one is selected to filter the results.

I think ajax can also be used to display the results without loading the page again but I have never done this before and am completely stuck.
I would appreciate a nudge in the right direction :-)

The link below shows exactly what I am trying to achieve...
dfs.co.uk/sofas/leather-sofas/

There is 1 reply in this thread, which is not being displayed.
Browsing this forum thread replies is available only to premium subscribers.


Go to the premium subscriptions page to learn how to become a premium subscriber and have full access to this forum.