function html_entity_decode($string)
{
$trans = get_html_translation_table(HTML_ENTITIES);
$trans = array_flip($trans);
$contents= strtr($string, $trans);
return $contents;
}
//With kind regards
Search found 2 matches
- Wed 27. Apr 2005, 11:55
- Forum: phpwcms Support English
- Topic: minimum php version 4 phpwcms_1.2.1-DEV
- Replies: 10
- Views: 3292
- Wed 27. Apr 2005, 11:52
- Forum: phpwcms Support English
- Topic: Error front.func.inc.php on line 2875
- Replies: 2
- Views: 904
well, not perfect but it workz for me
function html_entity_decode($string)
{
$trans = get_html_translation_table(HTML_ENTITIES);
$trans = array_flip($trans);
$contents= strtr($string, $trans);
return $contents;
}
//With kind regards
{
$trans = get_html_translation_table(HTML_ENTITIES);
$trans = array_flip($trans);
$contents= strtr($string, $trans);
return $contents;
}
//With kind regards