Skip to content

Instantly share code, notes, and snippets.

View bawasaab's full-sized avatar

Deepak Bawa bawasaab

  • Mohali
View GitHub Profile
@nannubest
nannubest / sqlite.php
Created May 29, 2011 23:29
SQLite3 Class for PHP
<?php
/*
* SQLite3 Class
* based on the code of miquelcamps
* @see http://7devs.com/code/view.php?id=67
*/
class DB{
private $sqlite;
@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);