PHP class to tpo access MySQL database wrapper using MySQLi