Re: returning info. from a form selection

From: Date: Mon, 01 Aug 2005 19:26:33 +0000
Subject: Re: returning info. from a form selection
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-219780@lists.php.net to get a copy of this message
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 > >

« previous php.general (#219780) next »