Hi everyone, I’m trying to write a really simple XML database application that adds form input from a page into an XML file. I’ve done some XML parsing in PHP before, but my question is mainly, what’s the easiest/most appropriate way to add to XML from form inputs? Do you read in the existing XML, add to it, and rewrite the file?
Like I said, I have experience in parsing and getting a data structure, but what I’m not sure about yet is how to add to / update an XML file. Can anyone point out a specific example, tutorial or library? Thanks in advance!!