PHP Classes


Recommend this page to a friend!
  Classes of Nikola Crnogorac   PHP SQLite Export   Download  
Role: Documentation
Content type: text/markdown
Description: ReadmeFile
Class: PHP SQLite Export
Query SQLite3 and output results in a HTML or XML
Author: By
Last change:
Date: 6 years ago
Size: 443 bytes


Class file image Download

#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.