Re: Dummy question about gettion "select option" choosen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add the 'value' argument to the <option> tag.

<option value=1>1</option>


""Mário Gamito"" <lists@xxxxxxxxxxx> wrote in message 
news:429A4818.7010504@xxxxxxxxxxxxxx
> 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 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux