A field in my database contains a string of upto 150 characters. For example:
A05B02C03D01E01G02H06F01I09J04K01N01N02Q01R04L01L03
Combos of three characters represent 'something'
For example:
A05 - Swimming Pools
B02 - Hot Tub
C03 - Hot Babe
So, the above string represents all the ammenities that is part of this particular listing.
I would like to be able to have a form were someone can search for specific ammenitites. So, lets say I have a form with a series of checkboxes 1 box for swimming pool with value of A05, another box for Hot Tub with a value of B02 and so on.
I think I need to group the checkboxes and create and array. So, something like features[] should be the variable for the checkboxes.
Here is where I am stuck. How can I structure my query so that it looks for data with the ammenities given in the checkboxes?