write Array to XML file

HI guys,

I have function which reads stores the nodes in array,

Now i want a generic function which just gets the array and writes to XML file.......

Please help me its urgent ,,,,,
montu_12Asked:
Who is Participating?
 
montu_12Author Commented:
hi, I used this http://mysrc.blogspot.com/2007/02/php-xml-to-array-and-backwards.html

It seems that its working for getting data from XML file to Array and then you can make changes in the arrya and you call arry2XML function.....

When i call array2XML function it just returns updated array - it does not actually writes to the xml file,

So i have updated array but how do i write back to xml

xml file should change with new updates..... when i use above link code - it does not update my xml file with new changes...

can you please help
0
 
DabasCommented:
A function in WHAT language?

Give an example of an array and the xml you want to produce

Dabas
0
 
DabasCommented:
I do not know PHP.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.