How to read if a checkbox is checked in PHP?
If your HTML page looks like this:
After submitting the form you can check it with:
isset($_POST['test'])
or
if ($_POST['test'] == 'value1') ...