RE: [PHP] Enter to BR

From: Date: Tue, 26 Jun 2001 18:05:24 +0000
Subject: RE: [PHP] Enter to BR
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55270@lists.php.net to get a copy of this message
or you could use preg_replace preg_replace("/\n/", "<BR>\n", $var); > -----Original Message----- > From: mailing_list@gmx.at [mailto:mailing_list@gmx.at] > Sent: Tuesday, June 26, 2001 2:56 AM > To: Joeri Vankelst > Cc: php-general@lists.php.net; php-general@lists.php.net > Subject: Re: [PHP] Enter to BR > > > > How can I get an Enter typed in a HTML textfield to be inerpreted as a BR > > or > > a P tag? > > Someone sugested I use the split() function, but I wouldn't know how... > > nl2br > > http://at.php.net/manual/de/function.nl2br.php > > michi > > -- > Sent through GMX FreeMail - http://www.gmx.net > > -- > 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 (#55270) next »