PHP Classes

SQL XML: Generate XML documents from MySQL query results

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 2,112 All time: 1,852 This week: 455Up
Version License Categories
sqlxml 1.0GNU General Publi...XML, Databases


This class can be used to generate XML documents from MySQL query results.

The class executes a given MySQL query. It may restrict the range of extracted rows to a given page on which a configurable limit number of rows is returned.

The generated XML documents are defined by row and column tags that contain the values of each query result row and column.

The XML documents also include tags that export the total number of rows, number of results per page, total number of pages and the current page number.

The class uses the PHP DOM XML to generate the XML documents.

Picture of Rich Zygler
Name: Rich Zygler <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 1441214 in United States United States
Week rank: 301 Up34 in United States United States Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file ex_query.php Example Example of simple query
Plain text file SqlXML.php Class Main class file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,852
This week:455Up
User Comments (1)
14 years ago (kishore kumar)