PHP Strip_Tags.Php – String Function

<?php
   $input = "I <td>really</td> love <i>PHP</i>!";
   $input = strip_tags($input,"<i></i>");
   echo $input;
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.