How to generate an xml file from a database after a query and in sequence download it automatically?
How to generate an xml file from a database after a query and in sequence download it automatically?
In order to answer your very comprehensive question and in very little detail, there is a PHP class called SimpleXML that you can generate just about anything you want in XML from whatever type of data ...
Take a look at here for the class reference. And for something more specific I found this function here that from a string, loads a file.
I hope I have helped.