Привет Каждый раз, когда я пытаюсь напечатать ответ из результата xml.xml to php convertion
<?xml version="1.0"?>
<response op="sendsmsmsg" status="400" message="Customer with mobile number 6193030168 is not opted in" version="1.0"/>
SimpleXMLElement Object
(
[@attributes] => Array
(
[op] => sendsmsmsg
[status] => 400
[message] => Customer with mobile number 6193030168 is not opted in
[version] => 1.0
)
)
как эхо значения оп, статус, сообщение к этому результату в PHP
Читать комментарии; http://php.net/manual/en/simplexmlelement.attributes.php –