Hello,
I have very few complaints about PHP, but probably the biggest is that I haven't found the equivalent of 'Options Explicit' in VB or 'use strict' in Perl (in other words, a way to force variable declaration before use so code doesn't mysteriously fail because of a typo in a variable name). (I'm a bit surprised that I haven't found the answer to this since PHP is otherwise so featureful.)
Thanks,
Pete
you can check the variables with simple 'if' statement, and if any of them are empty, then simply raise an error. that wont crash your script.
and, i am not aware of any built in PHP function for doing that.