I want to make a check with the PHP FOREACH function something like this:
if (isset($_POST['name'])) {
foreach ($_POST['name'] as disabled="true") {
//do something
}
}
Disabled=true comes from a checkbox input that I save on submit. My question is: can I check on POST, foreach checkbox that has disabled = "true". Or in someway only do a thing if the condition hits?