PHP Classes

DB 2 XML: Generate XML documents MySQL database table data

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,934 All time: 2,032 This week: 247Up
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: 38
All time rank: 1541100 in Brazil Brazil
Week rank: 587 Up38 in Brazil Brazil Up

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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,032
This week:247Up