PHP string function strip_tags

The String function strip_tags() removes the HTML, PHP and XML tags from the given string.


Parameter Description
mystr This is a required parameter which defines the string to check.
tags This is an optional parameter which defines the allowable tags and these tags will not be removed from the string.

Return Value

It will return the string after removing the Tags.