Wraps PHP's MySQLi interface to avoid a bunch of annoying boilerplate