如果你想在后台更改页面底部代码,而其中有html代码,输入框显示不出源代码,pre标签又没有用,那么你不防试试下面的函数

function UNHTML($content){
    $content=htmlspecialchars($content);
    $content=str_ireplace(chr(13),"<br>",$content);
    $content=str_ireplace(chr(32)," ",$content);
    $content=str_ireplace("[_[","<",$content);
    $content=str_ireplace(")_)",">",$content);
    $content=str_ireplace("|_|"," ",$content);
    return trim($content);
}