Ok, I see where the problem lies. I've got the MATCH & AGAINST right in my mind, but what I want to do is not search for the words 'fcat1, fcat2, wm' within the columns 'fc' and 'w_meal' but the individual values of the drop-down lists.
In my drop-down lists I have values that are stored in those columns. I was trying to make the value of each of the separate drop-down lists as this:
main ingredient
<SELECT NAME="fcat1"> (refers to column 'fc'):
{blank}
vegetarian <-- these are the actual words in the column fc
beef
poultry
etc.
by meal
<SELECT NAME="wm"> (refers to column 'w_meal'):
{blank}
breakfast <-- these are the actual words in the column w_meal
lunch
etc
dish type
<SELECT NAME="fcat2"> (also refers to column 'fc'):
{blank}
entree <-- these are the actual words in the column fc
side
salad
so that I could use whichever words were chosen to search and match that against the 2 columns ...
There are no actual instances of the word 'fcat1' 'fcat2' owr 'wm' in the fc or w_meal columns...that's why I wondered if I should use $fcat1... but I have tried that & even used
AGAINST (\'$fcat1\') and also (\'$\fcat1\') with no luck. I even tried with no single quotes... Also I haven't specifically defined the variables $fcat1, $fcat2 or $wm...