PHP vérifie si plusieurs entrées sont vides
foreach ($_POST as $key => $value) {
if (empty($value)) {
//Code to run
}
}
Deni
foreach ($_POST as $key => $value) {
if (empty($value)) {
//Code to run
}
}