nicolaspar on 07/19/06
Last Edited at 07/19/06 09:47am
function decodeHTML( $string ) { $string = strtr( $string, array_flip(get_html_translation_table( HTML_ENTITIES ) ) ); $string = preg_replace( "/&#([0-9]+);/me", "chr('\\1')", $string ); return $string;}
Report this snippet Tweet
Comment:
You need to login to post a comment.