On Mon, 12 Jul 2004 10:09:25 -0500, Hull, Douglas D <[EMAIL PROTECTED]> 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? > (along the lines of "Is your computer powered on?"): Did you try: <textarea ...>echo $test;</textarea>? In HTML 4/XHTML 1 and later (might be true for earlier versions, too), the tag <textarea> doesn't have a "value" attribute. Instead, the text between the <textarea>..</textarea> tags is passed to your script.
> Thanks, > Doug -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php