ph获取xml文件信息

 simplexml_load_file()方法

$xml = simplexml_load_file("1.xml");
foreach ($xml -> children() as $child){
echo $child.'<br>';
}
posted @   朴信惠  阅读(151)  评论(0编辑  收藏  举报
努力加载评论中...
点击右上角即可分享
微信分享提示