![](https://bavotasan.com/wp-content/uploads/2009/12/php.jpg)
Using PHP to Remove an HTML Tag from a String
There are times when you need to strip one specific HTML tag from a string and the PHP function strip_tags() doesn’t work the way you want it to. strip_tags() allows…
There are times when you need to strip one specific HTML tag from a string and the PHP function strip_tags() doesn’t work the way you want it to. strip_tags() allows…
This is just a revamp of a function I wrote a while back to add the ability to limit the number of words displayed when you call the excerpt or…