05-17-2009, 11:51 PM
|
#12 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
|
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".
|
$bValidated shouldn't remain false. If all is well, it'll be changed to true from either of the two private functions.
php Code:
$bValidated = $this->$szFunction($szVariable);
If it's still false after that then it failed validation.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|