how to remove html tag in a string using php

<?php
    $input = "<div id='bikash'><b>this is the html tag remove in php</b></div><strong>me use for html you do nt use</strong>";

   echo  $b = strip_tags($input, "<strong><em>");
?>

Comments

Popular posts from this blog

how to check ban-word user in put using php

how to check ban-word user in put using php

Difference between session_register and $_SESSION[] in phpsession_register and $_SESSION[] in php