Soldato
- Joined
- 27 Dec 2005
- Posts
- 17,316
- Location
- Bristol
I'm working on a directory and I need a filtering function similar to that of a competitor, whereby you can select and deselect any number of options which pass to the database query. I've always been a long-winded/ugly coder, so while I can probably think of a way of doing this I just wanted to see if there was an easier way.
FYI the options are fixed: the directory is listed by location and category, and there are 24 categories and 53 locations. Any number of options need to be choose-able: from 1 category and 1 location to all 24 categories and all 53 locations (ie. the entire directory).
PS. I'm coding in PHP/MySQL.
Many thanks for your help in advance.
FYI the options are fixed: the directory is listed by location and category, and there are 24 categories and 53 locations. Any number of options need to be choose-able: from 1 category and 1 location to all 24 categories and all 53 locations (ie. the entire directory).
PS. I'm coding in PHP/MySQL.
Many thanks for your help in advance.