Hi, sorry please disable your addblok

for visit this website, thank you....

All links is disabled !

CodeCanyon Item nulled on Files-Save.com !

Detail Archive


Partner Ads

Nulled version download - "PDO CRUD Class"




Free download PDO CRUD Class !

Url download nulled Hoster Password
Free download on Uploadicious.com - pdo-crud-class.rar Uploadicious.com 04085495
Free download on 1fichier - pdo-crud-class.rar 1fichier 04085495
Free download on 4Shared - pdo-crud-class.rar 4Shared 04085495
Free download on BigFile - pdo-crud-class.rar BigFile 04085495
Free download on Datafile - pdo-crud-class.rar Datafile 04085495
Free download on DepositFiles - pdo-crud-class.rar DepositFiles 04085495
Free download on MediaFire - pdo-crud-class.rar MediaFire 04085495
Free download on Mega - pdo-crud-class.rar Mega 04085495
Free download on Rapidgator - pdo-crud-class.rar Rapidgator 04085495
Free download on RockFil.eu - pdo-crud-class.rar RockFil.eu 04085495
Free download on SendSpace - pdo-crud-class.rar SendSpace 04085495
Free download on Turbobit - pdo-crud-class.rar Turbobit 04085495
Free download on Uplea - pdo-crud-class.rar Uplea 04085495
Free download on Uploaded - pdo-crud-class.rar Uploaded 04085495
Free download on UptoBox - pdo-crud-class.rar UptoBox 04085495
Free download on Zippyshare - pdo-crud-class.rar Zippyshare 04085495

Description

This small class will save you time by providing CRUD methods for quickly building SQL query statements. This can be used and integrated into any existing project with ease. Also, it is great at handling exceptions when SQL errors are produced.

System Requirements

  • PHP 5
  • PDO Extension
  • Supported PDO Driver(s) – PDO_SQLITE, PDO_MYSQL, PDO_PGSQL

Usage

require('class.db.php');

// Create
$bind = array( ":id" => $_POST['user_id'], ":user" => $_POST['username']);
db::inst()->insert( "users", array(":id", ":user"), 'user_id, username', $bind );

// Read
db::inst()->init( "SELECT * FROM users ORDER BY last_name" );

// Update
$bind = array( ":signature" => $_POST['signature'] );
db::inst()->update( 'users', array('signature' => ":signature"), array('username',$_SESSION['username']), $bind );

// Delete
$bind = array(":id" => $_POST['pID']);
db::inst()->delete( "posts", "postID = :id", $bind );

Changelog

  • (08.07.2013) v1.1
    • Emulation set to false for true PDO
    • Fixed issue when error reporting set to E_ALL
    • Added DSN_PREFIX instead of hardcoding the prefix for more flexibility
    • No need to double quote bind parameters anymore
    • Updated for PHP 5.4.x
    • Fixed query method to use bind parameters when not false
    • Updated documentation to reflect changes