I am building a web app and I am submitting a form via ajax but I get 500 internal error, I am unable to figure out why it is showing unkown column since the field is present in the database.
A Database Error Occurred Error Number: 1054
Unknown column 'integrity' in 'field list' INSERT INTO
reportingofficers_part3
(plannedwork
,qualityoutput
,analytical
,exceptionalwork
,overall_workoutput
,attitudetowork
,responsibility
,discipline
,communication
,leadership
,teamspirit
,timeschedule
,inter_personal
,personality
,overall_personalattributes
,Knowledgeofrules
,strategic
,decision
,coordination
,subordinates
,handlingproblems
,inspection
,financialpropriety
,overall_functionalcompetency
,public_relation
,training
,health
,integrity
,reporting_officer_penpicture
,overall_numerical_grading
,id
,reporting-officer-id
,set
) VALUES ('8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '8', '37' , '35', 1) Filename: models/Login_model.php Line Number: 193