摘要:
1.去除html标记function Text2Html($txt){ $txt = str_replace(""," ",$txt); $txt = str_replace("<","<",$txt); $txt = str_replace(">",">",$txt); $txt = preg_replace("/[\r\n]{1,}/isU","<br/>\r\n",$txt); 阅读全文
摘要:
1.采集表格中的内容为数组function get_td_array($table) { $table = preg_replace("']*?>'si","",$table); $table = preg_replace("']*?>'si","",$table); $table = pre... 阅读全文