I use simplexml_load_file($path_xml_file) , it works well!
If I do print_r($xml) , it prints:
SimpleXMLElement Object ( [@attributes] => Array ( [Message] => Login Successful [Token] => 11111111111 [DataFormat] => CSV ) )
How can I get the value of the token?
Thanks!
php simplexml
Damiano
source share