RE: [PHP] How to echo the "/n", "/r", etc... to the HTML display ?

From: Date: Mon, 28 Jan 2002 20:20:02 +0000
Subject: RE: [PHP] How to echo the "/n", "/r", etc... to the HTML display ?
Groups: php.general 
Request: Send a blank email to php-general+get-82466@lists.php.net to get a copy of this message
Read the first user note at the bottom of this manual page: http://www.php.net/manual/en/function.htmlentities.php -----Original Message----- >Subject: [PHP] How to echo the "/n", "/r", etc... to the HTML display? > So, you see, if I use the PHP function, nl2br(), that took care of the "cr" and > the "lf". But it doesn't take care of >the "sp" so how do I fix that? > This "sp" when work correctly will be able to justify the text on each line. Anyone know?

« previous php.general (#82466) next »