Re: placing values in html teaxtarea
| From: | Jason Wong | Date: | Mon, 12 Jul 2004 15:13:50 +0000 |
| Subject: | Re: placing values in html teaxtarea | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-190241@lists.php.net to get a copy of this message | ||
On Monday 12 July 2004 23:09, 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?
Please refer to some decent HTML documentation on how the <textarea> tag
works.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
"Engineering without management is art."
-- Jeff Johnson
*/