Use strip_tags()
http://www.php.net/manual/en/function.strip-tags.php
Erik Price wrote:
> I was hoping to solicit an opinion:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I was hoping to solicit an opinion:
There are some text areas where HTML-savvy users could choose to
"embolden" their text or "emphasize" it by using HTML. But if I use
htmlspecialchars() or htmlentities(), then this is not possible, even
though it makes my site safer by eliminating any HTML-
2 matches
Mail list logo