placing values in html teaxtarea
| From: | Hull, Douglas D | Date: | Mon, 12 Jul 2004 15:09:25 +0000 |
| Subject: | placing values in html teaxtarea | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-190239@lists.php.net to get a copy of this message | ||
After doing calculations etc on my data I am wanting to place it in a textarea form in html. I am
having trouble getting my data to show up in my texarea. For example, say after all my calculations
I my field called $test ends up containing "This is a test". Here is what I tried:
<textarea name="zoutput" rows="20" cols="70" wrap value="<?
echo $test; ?>" /> </textarea>
I can add the $test to input like this but not a textarea.
Name: <input type="text"
name="zfname" value="<? echo $test; ?>"/> <br>
Is this possible?
Thanks,
Doug