Anthony Ritter wrote:
<?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().
Check out the source code of the output. Maybe you want the strip_tags() function ?
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php