[eluser]Hamilogre[/eluser]
I'm trying to run an update in my model by passing $this to the $this->db->insert function. When I run it, it seems that it is trying to pass more than just my class variables to the insert statement. Here is the output:
Code:
An Error Was Encountered
Error Number: 1054
Unknown column '_parent_name' in 'field list'
INSERT INTO nsfma_doctor (_parent_name, doctor_first_name, doctor_middle_name, doctor_last_name, doctor_date_modified, _ci_ob_level, _ci_view_path, _ci_is_php5, _ci_is_instance, _ci_scaffolding, _ci_scaff_table) VALUES ('Doctor_model', 'kk', 'l', 'l', '07-08-18 12:34:24', 0, '/home/content/n/s/f/nsfma/html/system/application/views/', 0, 0, 0, 0)
Am I doing something wrong that is making it so that things outside of my class variables are being passed to the function?