RE: [PHP-DB] Text?
| From: | Troy Settle | Date: | Wed, 18 Oct 2000 19:19:51 +0000 |
| Subject: | RE: [PHP-DB] Text? | ||
| References: | 1 | Groups: | php.db php.general |
| Request: | Send a blank email to php-db+get-3748@lists.php.net to get a copy of this message | ||
Write it so that the value of the variable ends up in quotes.
echo '<input type="text" name="fullname"
value="$name">';
--
Troy Settle
Pulaski Networks
540.994.4254
It's always a long day, 86400 doesn't fit into a short
> -----Original Message-----
> From: Wee Chua [mailto:Chua@mail.interclean.com]
> Sent: Wednesday, October 18, 2000 2:27 PM
> To: PHP (E-mail); Php-Db (E-mail); Php-Db-Help (E-mail)
> Subject: [PHP-DB] Text?
>
>
> 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!
>
>
>
> Calvin
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>