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
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
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
> 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
> 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
5 matches
Mail list logo