I am having some hopefully small issue regarding saving data to mysql database

I have a form that adss data to a mysql database and it saves three of the fields to the database table but not the other 5, have gone through the coding and just can't see what the issue is

It adds the ref and role and active/inactive field to the database but not the division, location, salary, description and added by fields

I have pasted the pastebin link below with the new.php coding in


Thank you in advance