how to insert data in the mysql table using oop