Re: Dummy question about gettion "select option" choosen
| From: | Satyam | Date: | Mon, 30 May 2005 08:36:14 +0000 |
| Subject: | Re: Dummy question about gettion "select option" choosen | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-215979@lists.php.net to get a copy of this message | ||
Add the 'value' argument to the <option> tag.
<option value=1>1</option>
""Mário Gamito"" <lists@tuxdoit.com> wrote in message
news:429A4818.7010504@tuxdoit.com...
> Hi,
>
> Thank you all who have helped me in the checkbox's question.
>
> This is an area to which i'm very fresh in PHP.
>
> I now have this code in a form:
> ---------------------------
> <select name="interesse[]">
> <option>1</option>
> <option>2</option>
> <option>3</option>
> (etc...)
> </select>
> --------------------------
>
> My question is, how can i, in the action code, retrieve the option
> choosen by the user ?
>
> My most apologies for yet another dummy question, but i google and
> google, and i always end up seeing examples fulls of complexity, when i
> want is such a simple thing.
>
> Thanking you in advance.
>
> Warm Regards,
> Mário Gamito