PHP code example of gabbro-php / database
1. Go to this page and download the library: Download gabbro-php/database library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gabbro-php / database example snippets
use gabbro\database\sqlite3\Connection;
$db = new Connection($file);
$cursor = $db->query("SELECT * FROM MyTable WHERE id > %i", 10);
while ($cursor->moveToNext()) {
$name = $cursor->getColumn("username");
...
}