Re: Form Field

From: Date: Tue, 17 Apr 2001 14:54:21 +0000
Subject: Re: Form Field
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48975@lists.php.net to get a copy of this message
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 mpeloso@princeton.edu ""Mike"" <mpeloso@princeton.edu> wrote in message news:9bhfma$hma$1@toye.p.sourceforge.net... > 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 >

« previous php.general (#48975) next »