how to echo data in a textarea
| From: | Scott | Date: | Thu, 08 Nov 2001 23:40:04 +0000 |
| Subject: | how to echo data in a textarea | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73991@lists.php.net to get a copy of this message | ||
Could someone please show me how to echo data into a textarea field of a form?
e.g. I have used the following in text fields:
<input type="text" name=id value="<? echo "$id"; ?>" size=3
maxlength=3>,
but textareas don't have the "value" attribute and I haven't been able to
come up with a way that works or find a working example.
Thanks,
SW