I have a php file, with xml headers, that i wish my script to load.
$doc = new DOMDocument();
$doc->load( 'xmlscript.php' );
Will not work, only files with *.xml. How can i make it load the file, like it is a xml file?
Since it’s the data from db, that it shows in xml format, the file is in .php.
You’ll have to get the output from the PHP file, and parse that.
Something like that may help.