05-18-2009, 11:51 AM
|
#13 (permalink)
|
|
The Prestige
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
|
Quote:
Originally Posted by allworknoplay
I'll have to ponder on this a little bit. I understand that we are not changing the value, still confused about why (!) doesn't equate the variable to "true", if it was originally set as "false".
The way I am seeing it, (which is probably wrong) is this:
if(!false) return true;
|
It's wrong.
Basicly
PHP Code:
if(!$bValidated) return false;
is essentially the same as putting
PHP Code:
if($bValidated != true) return false;
// or if($bValidated == false) return false;
__________________
|
|
|
|