1 2 3 4 5 6 7 8 9 10 11
<?php $array = array( 'name' => '', 'other' => "test" ); if (count(array_filter($array)) != count($array)) { echo "missing at least one input"; } else { echo "ok"; }
1
missing at least one input