摘要:
<? function get_td_array($table) { $table = preg_replace("'<table[^>]*?>'si","",$table); $table = preg_replace("'<tr[^>]*?>'si","",$table); $table = preg_replace("'<td[^>]*?... 阅读全文
posted @ 2010-09-07 14:11
→province★
阅读(1010)
评论(0)
推荐(0)
摘要:
function xml2array($originalXML, $attributes=true) { $xmlArray = array(); $search = $attributes ? '|<((\S+)(.*))\s*>(.*)</\2>|Ums' : '|<((\S+)()).*>(.*)</\2>|Ums'; // normalize... 阅读全文
posted @ 2010-09-07 14:04
→province★
阅读(938)
评论(0)
推荐(0)
浙公网安备 33010602011771号