I have a big number of variables, mostly data from the form.
I want to convert all empty variables into "NULL".
Obviously for each variable I could write:
if (empty($a)) $a=="NULL";
if (empty($b)) $b=="NULL";...and so on....
But let's say I have like a hundred of them.
Is there any way to write it in just a few rows ???
Thanx