Re: text input truncated
| From: | Daniel Clark | Date: | Tue, 04 Nov 2003 23:49:27 +0000 |
| Subject: | Re: text input truncated | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-168527@lists.php.net to get a copy of this message | ||
> $xyz = "Hello World";
>
> echo "<form><input type=test size=25 value=$xyz></form>";
>
> ?>
>
> The text box shows up with "Hello" NOT "Hello World". How do I get the
> entire variable?
I would try single quotes here.
$xyz = 'Hello World';