Login   Register  
PHP Classes
elePHPant
Icontem

DB 2 XML: Generate XML documents MySQL database table data

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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,919 All time: 1,923 This week: 1,585Up
Version License Categories  
db2xml 1.0GNU General Public Lice...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: 140695 in Brazil Brazil
Week rank: 1882 Down136 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,919All time:1,923
 This week:0This week:1,585Up