Mega Code Archive

 
Categories / Php / Strings
 

Strip_tags

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