PHP code example of richard4339 / pipsqueek-sqlite
1. Go to this page and download the library: Download richard4339/pipsqueek-sqlite 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/ */
richard4339 / pipsqueek-sqlite example snippets
use Pipsqueek\DB\SQLite\DB;
[
'database_type' => 'sqlite',
'database_file' => DBPATH
]);
$where["chatid"] = 12345;
$results = $db->getRandom(SOMETABLE, ["column1", "column2"], $where);