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

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -