ajillion/PHP-MySQLi-Database-Class — pull request #24 by massivetoe (2013-06-01 21:18:56+00:00)
Title: Update _dynamicBindResults function to determine query type

function first determines the query type, and returns an array of results (for a SELECT query) or number of affected rows (for an INSERT/UPDATE/DELETE query).