摘要:
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); 阅读全文
posted @ 2012-12-24 13:54
hylaz
阅读(258)
评论(0)
推荐(0)
摘要:
1.采集表格中的内容为数组function get_td_array($table) { $table = preg_replace("']*?>'si","",$table); $table = preg_replace("']*?>'si","",$table); $table = pre... 阅读全文
posted @ 2012-12-24 11:35
hylaz
阅读(320)
评论(0)
推荐(0)