RE: [PHP] Form Field
| From: | Picard, Cyril | Date: | Tue, 17 Apr 2001 13:29:32 +0000 |
| Subject: | RE: [PHP] Form Field | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-48959@lists.php.net to get a copy of this message | ||
Try this :
$urlrow = htmlentities (urlencode($row[0][0]));
<input type="radio" value=<?php echo ('1'.$urlrow); ?>
name="R1"><?php echo ($urlrow); ?>
(I'm not sure you need urlencode, but htmlentities should help you)
> -----Message d'origine-----
> De: Marcelo Pereira [SMTP:gandalf@sum.desktop.com.br]
> Date: mardi 17 avril 2001 15:35
> À: Mike
> Cc: php-general@lists.php.net
> Objet: Re: [PHP] Form Field
>
> Hi,
>
> How about enclose the parameters with quotes ???
>
> See ya,
>
> Marcelo Pereira
> Programmer
>
> ----- Original Message -----
> From: Mike <mpeloso@princeton.edu>
> To: <php-general@lists.php.net>
> Sent: Tuesday, April 17, 2001 10:17 AM
> Subject: [PHP] Form Field
>
>
> > Im trying to pass a form variable to anouther page with the following:
> > <input type="radio" value=<?php echo ('1'.$row[0][0]); ?>
> name="R1"><?php
> > echo ($row[0][0]); ?>
> >
> > Everything works fine if there are no spaces(Buffalo) but if there are
> > spaces ( San Francisco) I only get the first word.I've never had this
> > problem before and I dont know what I did.Any suggestions?
> > Thanks
> > Mike P
> > mpeloso@princeton.edu
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net