You're checking the truth-value of the 'length' of an 'or' of two calls to 'param()' - this is probably not what you meant (-;
elsif ( (length(param('tele') > 0) or (length(param('mobile') > 0) )
might be closer to your intentions. Any views on optimum indentation style for code readability?
In reply to Re: Checking for empty CGI params; this isn't working
by astaines
in thread Checking for empty CGI params; this isn't working
by andrew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |