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 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,927 All time: 1,956 This week: 1,125Up
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: 31
All time rank: 146799 in Brazil Brazil
Week rank: 1545 Down112 in Brazil Brazil Down

  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,927All time:1,956
 This week:0This week:1,125Up