I have an xml file that is loaded by a Flash animation -- but thats not the point.
I want to load the xml (actually, they are 4 XMLs) display everything in many form fields and when submitting the form updating every xml. Sort of a simple admin backend.
Each xml looks something like this:
<?xml version="1.0"?>
<news>
<item title="Title 1" text="Long text 1" url="1.htm" />
<item title="Title 2" text="Long text 2" url="2.htm" />
</news>
Every xml has only two items like that.
I would like to get them in an array like
$xml1[0][title];
to get "Title 1"
$xml1[1][text];
to get "Long text 2"
(etc.)
The rest of the system is not a problem, i just need to put all the info inside the xmls in arrays.
Thanks in advance guys! 🙂