php富文本标签转html格式化
// $ret[0]['comtent'] 是内容
$trans = array_flip(get_html_translation_table(HTML_ENTITIES));
$comtent = strtr($ret[0]['comtent'], $trans);
// $ret[0]['comtent'] 是内容
$trans = array_flip(get_html_translation_table(HTML_ENTITIES));
$comtent = strtr($ret[0]['comtent'], $trans);