Variable Problem
| From: | Sierra Times.com | Date: | Wed, 05 Feb 2003 20:41:08 +0000 |
| Subject: | Variable Problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-134481@lists.php.net to get a copy of this message | ||
I have a variable that get's chopped off at the %20 character.
In the form page I have:
<b>From: <?= $name;?>
<br>E-mail address: <?= $email;?><br>
<?= $sent;?></b></font></td>
$sent and $name shows up fine, but immedieately I added (for testing)
<input type="text" name="sent" value=<?= $sent;?>>
<input type="text" name="name" value=<?= $name;?>>
this statement shows a text box, with only the first word before the space charcter "%20"
is shown, and is fact the only data that is submitted upon:
<form action="<?=$PHP_SELF;?>" method="post">
Can someone assist me?
J.J. Johnson