05-17-2009, 07:37 PM
|
#7 (permalink)
|
|
The Gregarious
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
|
Ok, I understand #4 now...
PHP Code:
$bValidated = $this->$szFunction($szVariable);
Of course there's no function called $szFunction, it's taking the name of the passed element from the foreach array!!!
Then passes the actual data, so that the method actually gets called...
DUH!
|
|
|
|