PHP Classes

DB 2 XML: Generate XML documents MySQL database table data

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,935 All time: 2,040 This week: 488Up
Version License Categories
db2xml 1.0GNU General Publi...XML, Databases
Description 

Author

This class can be used to generate XML documents from information stored in a MySQL database table.

The class executes a SQL query to retrieve the values of a list of fields of a given SQL table.

Then it generates a XML document with the retrieved values as data of XML tags mapped from the original SQL query field names. The XML document root tag is also configurable.

The resulting XML document is stored in a given file.

Picture of Marcelo Pereira
Name: Marcelo Pereira <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 40
All time rank: 1542100 in Brazil Brazil
Week rank: 214 Up16 in Brazil Brazil Up

  Files folder image Files (2)  
File Role Description
Plain text file db2xml.class.php Class db2xml class
Accessible without login Plain text file xml.php Example XML class files

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,935
This week:0
All time:2,040
This week:488Up