PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2005-11-16 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 2,109 All time: 1,805 This week: 1,142Up
Version License Categories
sqlxml 1.0GNU General Publi...XML, Databases
Description Author

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

  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  
 0%
Total:2,109
This week:0
All time:1,805
This week:1,142Up
User Comments (1)
Excellent
7 years ago (kishore kumar)
70%StarStarStarStar