note 22838 added to function.htmlentities
| From: | wildleaf at wildleaf dot net | Date: | Mon, 01 Jul 2002 22:22:19 +0000 |
| Subject: | note 22838 added to function.htmlentities | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32479@lists.php.net to get a copy of this message | ||
To the above comment:
The code is not intended to change the document itself, but rather is there to print the document in
a visually pleasing manor. The line:
$content = ereg_replace (" ", " ", $content);
Is there to keep propper spacing (if more than once space is there, it will show more than one
space). In the source you will see <br /> however, on the viewed document it will
show up as <br />
--
http://www.php.net/manual/en/function.htmlentities.php
http://master.php.net/manage/user-notes.php?action=edit+22838
http://master.php.net/manage/user-notes.php?action=delete+22838
http://master.php.net/manage/user-notes.php?action=reject+22838