i am trying to submit a form to the mysql database using php the following error is resulting.


Error: Unknown column 'unit1_code' in 'field list'


what could be the problem

There is no column with that name (unit1_code) in your table.

the column is there it is the third column

Show your table definition, the entire query and the complete error message.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.