I am using a simple HTML checkbox in a form to put a 1 for checked and a 0 for unchecked in a field called \"subcheck\" in a MySQL table.
Does the checkbox default t
To be sure that always 1 or 0 is sent, you can insert an input hidden with the same name of the checkbox in the html:
name
//The input hidden //The checkbox
This way, you don't need to check in server side if the textbox is set or not ;)