I'm beginning to use simplexml and I don't know what I'm doing wrong .. :(
I want to extract a xml from a url, I'm using the following code:
$xml = new SimpleXMLElement(file_get_contents($url));
And... print_r shows other object SimpleXML inside my array...It is correct? How can I read it?
SimpleXMLElement Object
(
[action] => QUERY
[response] => SUCCESS
[responsedata] => SimpleXMLElement Object
(
)
)
Thanks a lot,
SimpleXMLElement Object ( [action] => QUERY [response] => SUCCESS [responsedata] => SimpleXMLElement Object ( ) )- winkaneye