Provando questo pezzo di codice
Codice:
$xml = simplexml_load_file('albuminfo.xml');
$xml->addAttribute('albuminfo');
$artLocation = $xml-> addChild('artLocation');
$artLocation->addChild('$cartella$nome');
$artist = $xml->addChild('artist');
$artist->addChild('Sito');
$trackName = $xml->addChild('trackName');
$trackName->addChild('$nome');
$url = $xml->addchild('url');
$url->addChild('prova');
Però mi da
Fatal error: Call to undefined function: simplexml_load_file() in /membri/albit/PIRGY_Pannello_Immagini/carica.php on line 9