View Single Post
Old 05-17-2009, 07:37 PM   #7 (permalink)
allworknoplay
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default

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!
allworknoplay is offline  
Reply With Quote