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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
planki
Forum Newbie
Posts: 1
Joined: Sun Oct 25, 2009 7:24 pm

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

Post 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.
Post Reply