Re: [PHP] spaces in select

2004-10-11 Thread John Nichel
Angelo Zanetti wrote: Hi all, 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. When the form is posted and I echo the country variable

Re: [PHP] spaces in select-SOLVED

2004-10-11 Thread Angelo Zanetti
ok thanks to those who responded: this is how i got it working: echo("" . trim($row['location']) . ""); Angelo >>> Dan Joseph <[EMAIL PROTECTED]> 10/11/2004 4:43:56 PM >>> > I have a select/option that gets populated with countries. The value of > these option are also set to the coun

RE: [PHP] spaces in select

2004-10-11 Thread Nunners
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:[EMAIL PROTECTED] > Sent: 11 October 2004 15:42 > To: Angelo Zanetti > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] spaces in se

Re: [PHP] spaces in select

2004-10-11 Thread Dan Joseph
> 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. > > When the form is posted and I echo the country variable out that has > bee

Re: [PHP] spaces in select

2004-10-11 Thread Matt M.
> 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 United Sta