I've been using this in several projects. I wanted something more light weight than PEAR DB but w/ some of the same benefits, like being able to say

$sql = "insert into sometable(name, age) values(?,?)";
$args = array( "John", 42 );
$conn->execute( $sql, $args);

and have the insert values be mysql_real_escape_string() cleaned

The DBWrapper object takes a driver (basically it forwards all calls to the driver). In theory you load a vendor-specific driver, but I only have one for mysql right now.

I've posted the code on my site:
http://phpfunk.com/software/

Comments, criticisms welcome 😉

    Write a Reply...