I need some help, when i have big form with a lot of data i need check if empty on server side with PHP and i need some short way to make that.
I usually work with IF, but if you have some short way to check is 20 variable empty share with me.
Original request (... dots mean a lot more variable):
if ($a1 != '' && $a2 != '' && $a3 != '' && $a4 != '' && $a5 != '' ...)
Can i write that in some short format ? Like example:
if ($a1,$a2,$a3,$a4,$a5 != '')
Example is just how i thing to short if condition.