Re: Can't use function return value in write context--huh?




Incorrect. That's what isset() tests. If $_POST['email'] is not set,
the rest of the expression is never evaluated.

The others had it correct - empty() only works on variables, not the
results of an expression.

Thanks for mentioning that "If $_POST['email'] is not set, the rest of
the expression is never evaluated." That is why I did
isset( $_POST['eamil']) first.
.