Re: How do I display new lines in a textearea?

From: Date: Thu, 05 Jun 2003 14:35:51 +0000
Subject: Re: How do I display new lines in a textearea?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150365@lists.php.net to get a copy of this message
this is discussed in the posted comments under the function section of nl2br on php.net. But from what I remember there is no br2nl() (unfortunately). just goto php.net/nl2br and search the posted comments for br2nl Bobby "Petre Agenbag" <internet@vsa.co.za> wrote in message news:1054822904.3729.105.camel@petre... > Hi > > I want to have a textarea that contains details read from a mysql table, > but I want to echo each row so that it is on a new line. What is the > "new-line" character for a textarea? ( in effect the reverse of nl2br() > ) > > Thanks > > >

« previous php.general (#150365) next »