Re: simple question
| From: | Jöse | Date: | Mon, 30 Oct 2000 12:08:10 +0000 |
| Subject: | Re: simple question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-22663@lists.php.net to get a copy of this message | ||
try this,
<form method=post action='test.php3'>
<select name='menu'>
<option value='1'>>50.000
<option value='2'><10.000
<option value='3'>10.000 - 50.000
</select>
<input type='submit' value='send'>
</form>
then in test.php3:
switch($menu)
{
case 1:
[action if >50.000 was selected]
break;
case 2:
[action if <10.000 was selected]
break;
case 3:
[action if >10.000 - 50.000 was selected]
break;
}
----- Original Message -----
From: Gianni Ponzi <gianni@adept.co.za>
To: <php-general@lists.php.net>
Sent: Monday, October 30, 2000 11:44 AM
Subject: [PHP] simple question
Please excuse this question but I am still in the process of learning.
I would like to give an option on a site to search via and amount eg. =
>50.000 or <10.000 or between 10.000 and 50.000 etc etc. using a =
dropdown
could someone point me in the right direction?
thank you=20
Gianni