Re: Anyone know of way to convert the characters like linefeed, carrier return, etc.

From: Date: Wed, 23 Jan 2002 21:19:53 +0000
Subject: Re: Anyone know of way to convert the characters like linefeed, carrier return, etc.
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-81762@lists.php.net to get a copy of this message
This one work pretty well, so I'm using this one in addition to the recent posting! nl2br(htmlentities($ch)); Thanks, Scott "Nick Wilson" <nick@explodingnet.com> wrote in message news:20020123204935.GB9126@explodingnet.com... > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > > * and then Scott Fletcher blurted.... > > For example, replacing the line feed with a "<br>", etc. The only > > problem is I can not tell what characters are in there because it is not > > readable by the web browser. I hope I explained it clear enough. > > Check out nl2br() in the manual for starters :) > > - -- > > Nick Wilson > > Tel: +45 3325 0688 > Fax: +45 3325 0677 > Web: www.explodingnet.com > > > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > > iD8DBQE8TyHfHpvrrTa6L5oRAlQUAJ9I2MB+QdgSxlJifZvQLOv0TimVKACglCl4 > dbEjHkhXVsIVVCsxOTXAUk4= > =NPaP > -----END PGP SIGNATURE-----

« previous php.general (#81762) next »