PHP Classes

DB 2 XML: Generate XML documents MySQL database table data

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-07-28 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,920 This week: 1All time: 1,928 This week: 1,279Up
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: 30
All time rank: 141797 in Brazil Brazil
Week rank: 995 Up76 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  
 0%Total:1,920All time:1,928
 This week:1This week:1,279Up