Re: state (Field Problem)

From: Date: Thu, 17 Jul 2003 06:30:25 +0000
Subject: Re: state (Field Problem)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-155544@lists.php.net to get a copy of this message
got it working.. -- Thank you, Louie Miranda (louie@axishift.ath.cx) ----- Original Message ----- From: "Jason Wong" <php-general@gremlins.biz> To: <php-general@lists.php.net> Sent: Thursday, July 17, 2003 1:49 PM Subject: Re: [PHP] state (Field Problem) > On Thursday 17 July 2003 12:56, Louie Miranda wrote: > > > Given this problem.. > > I have this html form that has a "State" option and it list all the US > > states. And i also have a "State/Province" field if ever he does not live > > in the US. > > > > My problem is how will i recognize both? I Mean, i will pass it over to a > > php program and ofcourse the php will parse the user _POST's and display > > it. > > > > USA / State: Washington DC > > Not USA / State: Whatever > > > > > > -- > > <SELECT NAME="USAState"><option value=''>Select > > State<option > > value=StateProvince>Not USA > > -- > > State or Province (Not USA):<input type='text' > > name='StateProvince'> > > -- > > > > How will i pass this? Double thing? and make it just one.. > > It's just a matter of deciding which field to use. If the user bothered to > fill in 'StateProvince' then use and display that as the state. > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > ------------------------------------------ > Search the list archives before you post > http://marc.theaimsgroup.com/?l=php-general > ------------------------------------------ > /* > Tell me, O Octopus, I begs, > Is those things arms, or is they legs? > I marvel at thee, Octopus; > If I were thou, I'd call me us. > -- Ogden Nash > */ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#155544) next »