ph获取xml文件信息
simplexml_load_file()方法
$xml = simplexml_load_file("1.xml");
foreach ($xml -> children() as $child){
echo $child.'<br>';
}
simplexml_load_file()方法
$xml = simplexml_load_file("1.xml");
foreach ($xml -> children() as $child){
echo $child.'<br>';
}