Remove HTML tags from the string - strip_tags
by Sanju[ Edit ] 2010-09-17 12:35:00
Remove HTML tags from the string
The function
'strip_tags' is used to remove the HTML tags present in a string by taking the string as its argument.
Syntax:
strip_tags($string);
Example:
strip_tags("HIOX INDIA <br> HostingProvider",3);
Output :
HIOX INDIA HostingProvider