Einzelnen Beitrag anzeigen
  #1 (permalink)  
Alt 14-06-2019, 08:28
Gabrial
 Registrierter Benutzer
Links : Onlinestatus : Gabrial ist offline
Registriert seit: Jun 2019
Beiträge: 3
Gabrial befindet sich auf einem aufstrebenden Ast
Standard xml for php processing

Hello everyone,,,
I would like to further process the following value from this xml file:
<external-id> ext-id </ external-id>

<? xml version = "1.0" encoding = "UTF-8"?>
<! DOCTYPE EVENT-DATA (View Source for full doctype ...)>
<EVENT-mobdro lucky patcher kodi DATA>
<SUBSCRIPTION>
<subscribe-data>
<external-id> ext-id </ external-id>
</ subscribe-data>
</ SUBSCRIPTION>
</ EVENT- DATA>

I could not get on with this script; there was an error message '' ...
In addition, the value "external-id" should be further processed as a variable.

<?
$ data = simplexml_load_file ('ended.xml');
print utf8_decode ($ data-> subscribe-data [0] -> external-id). "\ n <br>";
?>

Can someone help me there.
Reply with quote

Geändert von Gabrial (15-06-2019 um 16:57 Uhr)
Mit Zitat antworten