A simple database abstraction layer, with an on disk caching facility
A simple database abstraction layer for PHP, with an on disk caching facility
The recommended method of installing this library is via Composer.
Run the following command from your project root:
$ composer require duncan3dc/sql
use duncan3dc\Sql\Sql; use duncan3dc\Sql\Drivers\Mysql\Server; require __DIR__ . "/vendor/autoload.php"; $sql = new Sql(new Server($hostname, $username, $password)); $row = $sql->select("table", [ "field1" => "value1", ]); print_r($row);
Read more at http://duncan3dc.github.io/sql/
A Changelog has been available since the beginning of time