Re: Trouble displaying info in a multiline form

From: Date: Wed, 05 Jun 2002 01:58:15 +0000
Subject: Re: Trouble displaying info in a multiline form
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-19609@lists.php.net to get a copy of this message
On Wednesday 05 June 2002 02:51, Paulo Nunes wrote: > Hi all > > I'm having trouble displaying some content into a multiline form. Some part > of the field's data seems to be missing. I'm using the following code: > echo "<P>Contents: <br><textarea length =8000 cols=50 rows=20 > name=\"content\" value=".\ > $content." > </textarea></P>"; > The variable $content should contain the correct data, but it cuts a part > of the beggining and some part of the end. I think it has nothing to do > with the fields size. 1) <textarea> does not have a length attribute 2) <textarea> does not have a value attribute 3) the way to display stuff inside a <textarea> is: <textarea>some stuff here</textarea> -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* Second-sytem effect. */

« previous php.db (#19609) next »