I would like to have a varible in a form that allows a user to select a range of numbers. For example
<input type="radio" CHECKED value="0" name="units">Any number<br>
<input type="radio" value="1" name="units" 5<br>
<input type="radio" value="2" name="units">5 to 10<br>
<input type="radio" value="3" name="units">11 to 15<br>
<input type="radio" value="4" name="units">16 to 20<br>
<input type="radio" value="5" name="units">21+</font>
Notice I am trying to give them the ability to select 5, or between 5 to 10, etc....
My problem is I am not sure how to setup the value correctly, or how to setup my query. I thought BETWEEN would be the right approach, but I am not having any luck.
AND nof_units between '$units' AND 'NOT SURE WHAT GOES HERE'
Can you offer a suggestion?