a CRUD class for MySQLi using OOP in PHP