<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_32836"> <div class="blockcode"> <div id="code_Nvr"><ol> <li> <li><php<li>//文本转HTML<li>function Text2Html($txt)<li>{<li>$txt = str_replace(” ”,” ”,$txt);<li>$txt = str_replace(“<”,”<”,$txt);<li>$txt = str_replace(“>”,”>”,$txt);</li> <li>$txt = preg_replace(“/[\r\n]{1,}/isU”,”<br/>\r\n”,$txt);</li> <li>return $txt;</li> <li>}</li> <li>?></li> </ol></div> <em onclick="copycode($('code_Nvr'));">复制代码</em> </div> </td></tr></table> <div id="comment_32836" class="cm"> </div> <div id="post_rate_div_32836"></div> <br><br>