Mega Code Archive

 
Categories / Php / HTML
 

HTML tag strip

<?php    $input = "This <a href='http://www.rntsoft.com/'>rntsoft</a> is <b> </b>!";    echo strip_tags($input, "<a>"); ?>