Re: returning info. from a form selection

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

 



You would give the options a different value(each of them in your case is "")

Try 
<form action="whatever.php">
 <select class="textbox"
                        name="loan_process">
                      <option value="purchase"
                          selected="selected">Purchase</option>
                      <option
                          value="construct_home">Construct Home</option>
                      <option>
 </select>
</form>

May I also suggest that if you're experimenting try putting "<?php
phpinfo() ?>" without the quotes into whatever.php(see form action)


On 8/1/05, Bruce Gilbert <webguync@xxxxxxxxx> wrote:
> can anyone give me an idea on how to return info. from a forl pulldown menu
> 
> eg:
> 
> <select class="textbox"
>                        name="loan_process">
>                      <option value=""
>                          selected="selected">Purchase</option>
>                      <option
>                          value="">Construct Home</option>
>                      <option>
> </select>
> 
> and return that to an email address.
> 
> 
> thanks
> 
> 
> 
> --
> ::Bruce::
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

-- 
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