php check if multiple inputs are empty code example
Example: php check if multiple inputs are empty
foreach ($_POST as $key => $value) {
if (empty($value)) {
//Code to run
}
}
foreach ($_POST as $key => $value) {
if (empty($value)) {
//Code to run
}
}