Results 1 to 3 of 3
Jun 14, 2012, 13:24 #1
- Join Date
- Aug 2003
- Maine, USA
- 0 Post(s)
- 0 Thread(s)
Checkboxes to control a MySQL query
I have a table with many different fields, essentially it lists a bunch of various products. These products are categorized by some of the fields, for example, movie, book, game. And if it's a game, the field as a Yes of not, a No.
On the front end, I want to create a form that will give me these options:
What do you want to see?
 Games  Movies  Books  Etc.
And if I want to just see Games, I'll put a check in, if I want to see multiple items, I'd select them and then select Search.
Can you point me in the direction I should go with the code? I've read some guides but they are not geared towards what I'm looking to do. Thank you,Get to know the man behind the screen
Jun 14, 2012, 13:49 #2Guido - Community Team Leader
The Votes Are In: The Winners of the 2013 Community Awards are...
Blog - Free Flash Slideshow Widget
Jun 14, 2012, 15:33 #3
- Join Date
- Oct 2005
- Milton Keynes, UK
- 9 Post(s)
- 2 Thread(s)
Take a look at my post here: http://www.sitepoint.com/forums/show...=1#post4156456 I provided a simple solution using bitflags