RE: [PHP] how to echo data in a textarea

From: Date: Fri, 09 Nov 2001 04:38:17 +0000
Subject: RE: [PHP] how to echo data in a textarea
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-73994@lists.php.net to get a copy of this message
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: chriskay@ideal.net.au phone: +61 2 4628 8888 fax: +61 2 4628 8890 ------------------------------------------------------------------------ -----Original Message----- From: Scott [mailto:gildedpage@earthlink.net] Sent: Friday, November 09, 2001 10:40 AM To: php-general@lists.php.net 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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#73994) next »