RE: [PHP] spaces in select

From: Date: Mon, 11 Oct 2004 14:48:00 +0000
Subject: RE: [PHP] spaces in select
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-199175@lists.php.net to get a copy of this message
Another suggestion is to use country codes - generally accepted by most i.e. uk, us, ch, cn, za etc > -----Original Message----- > From: Matt M. [mailto:h.dudeness@gmail.com] > Sent: 11 October 2004 15:42 > To: Angelo Zanetti > Cc: php-general@lists.php.net > Subject: Re: [PHP] spaces in select > > > I have a select/option that gets populated with countries. The value of > > these option are also set to the country name. The problem i have is > > that some countries have spaces in them > > > > eg: United States of America. > > what doe your select loo like? something like this should work > > <select name="country"> > <option value="United States of America">United States of > America</option> > </select> > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#199175) next »