php - Filtertering HTML tags -
is there way filter html tags except tags of choice <strong>, or <b>, <i>
? know htmlentities job filter of html tags.
check this: http://www.php.net/strip_tags
// allow <p> , <a> echo strip_tags($text, '<p><a>');
edit: actually, mean "filter"?