0
我有下面的代码:访问SimpleXMLElement对象值
SimpleXMLElement Object(
[@attributes] => Array(
[id] => 542
[url] => http://google.pl
[price] => 19.29
[avail] => 1
[set] => 0
)
)
我怎样才能用PHP访问ID?
的可能的复制[PHP得到的SimpleXMLElement阵列值(http://stackoverflow.com/questions/ 2751711/PHP-获得值从 - 的SimpleXMLElement阵列) –