a CRUD class for MySQL using OOP in PHP