Page 1 of 1

how to search mutliple values in a drop-down box?

Posted: Sun Oct 25, 2009 7:26 pm
by planki
My question is - is there any php code that can search all values above 'X' value in a drop down box?

Eg.
<select name="keyword" style="width: 150px;">
<option value=""></option>
<option value="10">$10.00</option>
<option value="20">$20.00</option>
<option value="30">$30.00</option>
<option value="40">$40.00</option>
<option value="50">$50.00</option>
</select>

So if I select $20 on the drop down box, how can I receive search results that show all records including and above $20 i.e. $20 $30 $40 and $50.

I know this needs PHP coding - I've tried with html and it doesn't work.

Anyone know the code or where to get it.
Don't mind paying nominal fee either.