I am trying to incorporate a checkbox into a form that adds a record to an sql table called 'contracts'
The table has a field called 'override' which is either NULL or will contain a '1'.
I want the form to have a checkbox to select the override option, and when the contract is submitted, it submits a '1' to that field if the box is checked. If it's not checked, it just ignores it.
At the moment, I have:
<input type=\"checkbox\" name=\"override\">
But I'm unsure what values to take as the POST values etc. Can anyone help?