Re: textarea problem

From: Date: Thu, 23 Jan 2003 13:39:57 +0000
Subject: Re: textarea problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-132823@lists.php.net to get a copy of this message
At 14:34 23.01.2003, Denis L. Menezes said: --------------------[snip]-------------------- ><?php > Print '<textarea name="OrgAddress" cols="44" rows="5" > id="textarea" >value="'.htmlspecialchars($row['OrgName']).'"></textarea>'; > ?> --------------------[snip]-------------------- This won't work. <textarea> needs its value outside the tag, without an attribute, just plain: Print '<textarea name="OrgAddress" cols="44" rows="5" id="textarea">', htmlspecialchars($row['OrgName']), '</textarea>'; -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

« previous php.general (#132823) next »