PHP Class for mysqli function: connect, select, update, insert methods