PHP Classes

SQL XML: Generate XML documents from MySQL query results

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   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
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 (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,112
This week:0
All time:1,852
This week:455Up
User Comments (1)
Excellent
15 years ago (kishore kumar)
70%StarStarStarStar