Re: how to echo data in a textarea

From: Date: Fri, 09 Nov 2001 04:36:16 +0000
Subject: Re: how to echo data in a textarea
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-73993@lists.php.net to get a copy of this message
No problem: <TEXTAREA NAME="Note" ROWS=4 COLS=40> Here is the default text that will appear in the text box. </TEXTAREA> Later, Jeff At 06:40 PM 11/8/01 -0500, Scott wrote: >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

« previous php.general (#73993) next »