SQLite2JSON class in PHP, covert an SQLite database to its JSON representation
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
classes
LICENCE.md
README.md
index.php

README.md

PHP-SQLite2JSON

SQLite2JSON class in PHP, covert an SQLite database to its JSON representation

Here is an example of use :

<?php

include_once('./classes/SQlite3ToJSONConverter.class.php');

$sDatabaseFileName = '/Users/samuelgrau/Dropbox/IVD.db';
$oDatabaseHandler = new SQlite3ToJSONConverter($sDatabaseFileName);
$sJSON = $oDatabaseHandler->getJSONFromSQLite();
var_dump($sJSON);

?>