A PDO implementation of the MyBB core database class methods.