PHP Classes

PHP SQLite Export: Query SQLite3 and output results in a HTML or XML

Recommend this page to a friend!
  Info   View files Documentation   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 70%Total: 288 All time: 7,520 This week: 68Up
Version License PHP version Categories
sqlite3xml 1.0.0BSD License5HTML, XML, PHP 5, Databases, AJAX


This class can query SQLite3 and output results in a HTML or XML.

It can take a handle of the result set of a SQL query executed on a SQLite 3 database and output the result values as HTML to be displayed on a page or a XML data string.

The class outputs the HTML with JavaScript code that can perform AJAX requests to retrieve the results table dynamically.

Innovation Award
PHP Programming Innovation award winner
May 2018

Prize: One official elePHPant Plush Mascott
SQLite is a popular database system that can be used to create databases stored in local files, so they do not require to install and use a server to query the information in the database tables.

This package provides a Web based solution to perform queries on a SQLite database to inspect the contents of the tables of database with a fast user interface using AJAX to avoid reloading the Web pages.

Manuel Lemos
Picture of Nikola Crnogorac
  Performance   Level  
Name: Nikola Crnogorac <contact>
Classes: 1 package by
Country: United States United States
Age: 23
All time rank: 3857500 in United States United States
Week rank: 246 Up31 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x


#SQLite3 XML#

SQLite3 has some not easy ways to obtain column names. In case of a table there are several methods available for that purpose: Select from sqlite_master, or PRAGMA table_info(table_name)... But in case of a query this is of no use. This simple class allows a program to get those names and compose a valid XML using them as XML tags. Also, on the client side, it generates a dynamic table from those data.

  • ExampleTable
  • ExampleXML
  Files folder image Files  
File Role Description
Plain text file SQLite3XML.php Class Main project class
Accessible without login Plain text file Doc. ReadmeFile

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,520
This week:68Up
User Ratings User Comments (2)
 All time
Thats a very good class ;-)
6 years ago (Josť Filipe Lopes Santos)
Thats a very good class ;-)
6 years ago (Josť Filipe Lopes Santos)