You can check the corresponding value as being set and non-empty in either the $_POST or $_GET array depending on your form's action.
i.e.: With a POST form using a name
of "test" (i.e.:
, you'd use:
if(isset($_POST['test']) {
// The checkbox was enabled...
}