Scott try this is standard html, you will find this out even if you open Wintendo Frontpage
<textarea rows="3" name="namehere" cols="30"><? echo $text; ?></textarea> really you should be able to write html before learning php Regards ------------------------------------------------------------------------ Chris Kay - Tech Support - IDEAL Internet email: [EMAIL PROTECTED] phone: +61 2 4628 8888 fax: +61 2 4628 8890 ------------------------------------------------------------------------ -----Original Message----- From: Scott [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 2001 10:40 AM To: [EMAIL PROTECTED] Subject: [PHP] how to echo data in a textarea 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]