title: Unknown column "in field list form "
body: <p>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.</p>
  
  <blockquote>
    <p>A Database Error Occurred
        Error Number: 1054</p><p>Unknown column 'integrity' in 'field list'
        INSERT INTO <code>reportingofficers_part3</code> (<code>plannedwork</code>, <code>qualityoutput</code>, <code>analytical</code>, <code>exceptionalwork</code>, <code>overall_workoutput</code>, <code>attitudetowork</code>, <code>responsibility</code>, <code>discipline</code>, <code>communication</code>, <code>leadership</code>, <code>teamspirit</code>, <code>timeschedule</code>, <code>inter_personal</code>, <code>personality</code>, <code>overall_personalattributes</code>, <code>Knowledgeofrules</code>, <code>strategic</code>, <code>decision</code>, <code>coordination</code>, <code>subordinates</code>, <code>handlingproblems</code>, <code>inspection</code>, <code>financialpropriety</code>, <code>overall_functionalcompetency</code>, <code>public_relation</code>, <code>training</code>, <code>health</code>, <code>integrity</code>, <code>reporting_officer_penpicture</code>, <code>overall_numerical_grading</code>, <code>id</code>, <code>reporting-officer-id</code>, <code>set</code>) 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</p>
  </blockquote>
  
  <p>and the snapshot of my reportingofficers_part3 table
  <a href="https://i.stack.imgur.com/8OreQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8OreQ.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/3gx2u.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3gx2u.png" alt="enter image description here"></a></p>