I have a MySQL database and I need to turn its tables into xml files.
Using phpMyAdmin, I can do this conversion by exporting each table to xml format.
But there’s no use anyway, because I don’t know how to update these xml files when the tables are updated/inserted with new information.
Can anyone give me a clue on how to proceed to achieve tables and xml files synchronized?
Thanks a lot!
If the data set is not too big, you could just serve the xml file via a PHP script, that would fetch all the data and build up the XML file on the fly every time. Of course you can then cache the output for a few seconds/minutes depending on how fast your database changes.