PHP Code Generator from table in database to CRUD