htmlentities()
| From: | Anthony Ritter | Date: | Wed, 08 Sep 2004 22:47:55 +0000 |
| Subject: | htmlentities() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196179@lists.php.net to get a copy of this message | ||
Copied and pasted the following sample script from the php manual and this
outputs:
...........
<?php
$str = "A 'quote' is <b>bold</b>";
echo htmlentities($str);
?>
..............
// outputs: A 'quote' is <b>bold</b>
Not sure why the I am still getting the tags and spaces after the call to
htmlentities().
Thank you for any help.
TR