Commit 7bf57464 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 5e0339d3
...@@ -169,6 +169,9 @@ class Media { ...@@ -169,6 +169,9 @@ class Media {
$xml = simplexml_load_string($xmlstring); $xml = simplexml_load_string($xmlstring);
$json = json_encode($xml); $json = json_encode($xml);
$array = json_decode($json,TRUE); $array = json_decode($json,TRUE);
foreach ($array["File"]["Track"] as $key => $value) {
echo " ".$key." ".$value["@attributes"]["type"].PHP_EOL;
}
print_r($array); print_r($array);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment