[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 491
  • Last Modified:

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 ,,,,,
0
montu_12
Asked:
montu_12
  • 2
1 Solution
 
DabasCommented:
A function in WHAT language?

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

Dabas
0
 
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:
I do not know PHP.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now