Answers for "read simple xml as dom php"

PHP
0

xml to object php

$object = json_decode(json_encode(simplexml_load_string($xml)));
Posted by: Guest on May-07-2020
0

php parse xml

$movies = new SimpleXMLElement($xmlstr);

echo $movies->movie[0]->plot;
Posted by: Guest on January-06-2021

Browse Popular Code Answers by Language