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"?


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

Delphi interface implements -

java - How to create Table using Apache PDFBox -