Home › Forums › Back End › Edit XML with PHP › Re: Edit XML with PHP
Thanks for the reply. I just want to make this form functional. It already loads in data from my XML file. But I want the user to be able to edit it with this form. So since it loads the information in from the xml file, I could just dump all of the XML data and replace it with the new data that are in the fields when it is saved. I would assume this is all done with PHP. This is my xml file currently:
This is the code I wrote for the wordpress admin menu as seen above:
So looking at that image in my last post, PHP would take each box and write a <package> node, for each box, in the xml file when you click save.
I just need to figure out how to write this with PHP. Does that make more sense?