I have a form where a list is populated from a MySQL database and checkboxes are assigned for each one using the $index
method.
When the form is posted, I then cycle through the checkboxes using the following
foreach ($_POST['check'] as $index => $value) {
if (($_POST['check'][$index] == '1')) {
How could I check if none of the checkboxes are checked?