You are here: Re: [PHP] returning info. from a form selection « PHP « IT news, forums, messages
Re: [PHP] returning info. from a form selection

Posted by Rory Browne on 08/01/05 22:26

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@gmail.com> 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
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация