Best Practice for Exporting an App's Data to XML via PHP/MySQL?
- by Alex Cook
I have an a business app and I want to give my users the ability to export their data at anytime.
I'm aware that I can write an XML file semi-manually by doing something like this:
http://www.kirupa.com/web/mysql_xml_php.htm
But, I thought I'd ask if this is the best practice? Or is there some framework I can use to do this more easily/quickly? Maybe there isn't - it won't be too hard to do it the above way.
Also, less importantly - XML is the best format to export to, right?
Thanks in advance.