PHP Periksa apakah beberapa input kosong

foreach ($_POST as $key => $value) {
    if (empty($value)) {
        //Code to run
    }
}
Deni