Remove HTML tags from the string - strip_tags

by Sanju 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

Tagged in:

1083
like
0
dislike
0
mail
flag

You must LOGIN to add comments