Posted by Phil Latio on 12/18/06 09:40
> If the first statement evaluates to false, the other statement won't be
> checked.
> Try something along the lines of:
> if($newValidate->isEmpty($this->userName) ||
> !$newValidate->isEmpty($this->passWord))
>
>
> --
> Rik Wasmus
I replaced && with || and it worked !!!
Many thanks for the quick reply. I would have taken some time to work out it
was the use of && in the statement that was causing the problem.
Cheers
Phil
[Back to original message]
|