Best Practice for Exporting an App's Data to XML via PHP/MySQL?

Posted by Alex Cook on Stack Overflow See other posts from Stack Overflow or by Alex Cook
Published on 2011-01-03T03:25:16Z Indexed on 2011/01/03 3:54 UTC
Read the original article Hit count: 200

Filed under:
|
|
|

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.

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql