Why don't you just put the quotes outside the php?
<input type="radio" value="<?php echo ('1'.$row[0][0]);?>"
name="R1"><?php echo ($row[0][0]);?>
That will give you
<input type="radio" value="foo" name="R1">foo

-jack

Mike wrote:
> 
> What I need to do is append parenthesis to the front and back of
> ('1'.$row[0][0]), but when I do that it doesn't parse correctly. What I'm
> getting now is:
> Value=1San Francisco
> What I need is:
> Value="1San Francisco"
> Thanks
> Mike P
> [EMAIL PROTECTED]
> 
> ""Mike"" <[EMAIL PROTECTED]> wrote in message
> 9bhfma$hma$[EMAIL PROTECTED]">news:9bhfma$hma$[EMAIL PROTECTED]...
> > 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