Skip to content

Instantly share code, notes, and snippets.

View bawasaab's full-sized avatar

Deepak Bawa bawasaab

  • Mohali
View GitHub Profile
@bawasaab
bawasaab / sqlite.php
Last active July 3, 2018 14:41 — forked from nannubest/sqlite.php
SQLite3 Class for PHP
<?php
class Db_core
{
private $sqlite;
private $mode;
function __construct( $filename, $mode = SQLITE3_ASSOC )
{
$this->mode = $mode;
$this->sqlite = new SQLite3($filename);