Re: PHP commands and HTML combobox
| From: | Hendrik Mans | Date: | Fri, 01 Feb 2002 12:15:25 +0000 |
| Subject: | Re: PHP commands and HTML combobox | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83115@lists.php.net to get a copy of this message | ||
"Eduardo Melo" <eduardofcomelo@hotmail.com> schrieb im Newsbeitrag
news:F136z63Bma4RCIlWrdF0000a38b@hotmail.com...
> <select name="combo">
> <option>Option 01
> <option>Option 02
> <option>Option 03
> </select>
Use:
<option value="xx">yy
xx is what will end up in your GET (or POST) parameters and ultimately in
$combo, while yy is what will be displayed in your <select> control.
Take care,
Hendrik