A simple database library for MySQL and PGSQL.
Pull request Compare This branch is even with dcramer:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE
README.rst
db.inc.php

README.rst

An intuitive and simple database library with expressions based on sprintf formatting.

Example:

$mydb = new MySQLdb('localhost', 'root', 'password', false, 'database_name);
$result = $mydb->query("SELECT 1 FROM table WHERE fieldname = %s AND other_fieldname = %d", 'mystring', 5);