Re: placing values in html teaxtarea
| From: | Travis Low | Date: | Mon, 12 Jul 2004 15:16:27 +0000 |
| Subject: | Re: placing values in html teaxtarea | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190240@lists.php.net to get a copy of this message | ||
Would you please turn off return receipt in your messages? Thanks!
Travis
Hull, Douglas D wrote:
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-- Travis Low <mailto:travis@dawnstar.com> <http://www.dawnstar.com>