Heim >Backend-Entwicklung >PHP-Tutorial > 问下以下数据PHP如何调用
问下以下数据PHP怎么调用
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->地址1_C>电话1_D>手机1_A>QQ1_F>EMAIL1_S>日期1_DT>时间1_T>
<!-- Code highlighting produced by Actipro CodeHighlighter (freeware) http://www.CodeHighlighter.com/ -->preg_match('/(.*)/', $data, $C1); echo '地址:'.$C1[1].'<br>'; preg_match('/(.*)/', $data, $D1); echo '电话:'.$D1[1].'<br>'; preg_match('/(.*)/', $data, $A1); echo '手机:'.$A1[1].'<br>'; preg_match('/(.*)/', $data, $F1); echo 'QQ:'.$F1[1].'<br>'
$arr=preg_split('/]+>/',$data,-1,PREG_SPLIT_NO_EMPTY); print_r($arr); <div class="clear"> </div>