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
This can be used as follows
$status = (isset($_REQUEST['status'])); if ($status == 1 ) { $status = 1; } else { $status = 0; } echo $status;