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:[EMAIL PROTECTED]]
> Date: mardi 17 avril 2001 15:35
> À:    Mike
> Cc:   [EMAIL PROTECTED]
> Objet:        Re: [PHP] Form Field
> 
> Hi,
> 
> How about enclose the parameters with quotes ???
> 
> See ya,
> 
> Marcelo Pereira
> Programmer
> 
> ----- Original Message -----
> From: Mike <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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
> > [EMAIL PROTECTED]
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to