Re: Text?

From: Date: Wed, 18 Oct 2000 18:31:16 +0000
Subject: Re: Text?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20956@lists.php.net to get a copy of this message
On Wed, 18 Oct 2000, Wee Chua wrote: > Hi all, > I have passed a value like name=John Smith to the second page inside the > form. When I do echo "<input type=text name=fullname value=$name>, I only > see John one word display inside the text box, but if I just echo "$name"; > it gives me John Smith. How could I eliminate the space between the value > inside the text box? Could anyone tell me how to do it, thank you very much! Try putting $name inside open and closing quotes. Something like: \"$name\" Don't know if it's the reason why it's not working, but thats the way I always put the values. Saludos... :-) "And I'm happy, because you make me feel good, about me." - Melvin Udall ----------------------------------------------------------------- Martín Marqués email: martin@math.unl.edu.ar Santa Fe - Argentina http://math.unl.edu.ar/~martin/ Administrador de sistemas en math.unl.edu.ar -----------------------------------------------------------------

« previous php.general (#20956) next »