Answers for "php how to check if multiple input is empty"

PHP
0

php check if multiple inputs are empty

foreach ($_POST as $key => $value) {
    if (empty($value)) {
        //Code to run
    }
}
Posted by: Guest on May-03-2021

Code answers related to "php how to check if multiple input is empty"

Browse Popular Code Answers by Language