strip_tags: strip tags from html string : HTML String « HTML « PHP






strip_tags: strip tags from html string

<?php
   $input = "Email <a href='spammer@example.com'>spammer@example.com</a>";
   echo strip_tags($input);
?>


           
       








Related examples in the same category

1.Escape HTML char
2.HTML tag strip