ltrem Posted May 29, 2009 Share Posted May 29, 2009 Hey! I would like to have a function that does the same thing as strip_tags but with the <> code... can't find anything helpful other than strip_tags on the intraweb! :S This -> 'I am <a href="{3}">new here!' would be -> 'I am new here!' Thanks alot! Link to comment https://forums.phpfreaks.com/topic/160198-solved-function-similar-to-strip_tags-but-clearing-not-and-but-and/ Share on other sites More sharing options...
lonewolf217 Posted May 29, 2009 Share Posted May 29, 2009 what if you use http://us3.php.net/manual/en/function.html-entity-decode.php before running strip_tags ? I think that is what you are asking for Link to comment https://forums.phpfreaks.com/topic/160198-solved-function-similar-to-strip_tags-but-clearing-not-and-but-and/#findComment-845240 Share on other sites More sharing options...
ltrem Posted May 29, 2009 Author Share Posted May 29, 2009 Wow! Thanks man... didn't knew that function! Link to comment https://forums.phpfreaks.com/topic/160198-solved-function-similar-to-strip_tags-but-clearing-not-and-but-and/#findComment-845241 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.