View Single Post
Old 06-27-2009, 07:35 PM   #2 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,239
Thanks: 3
Salathe is on a distinguished road
Default

You appear to have trouble understanding basic PHP syntax. You cannot just call an "array_search" method like that, it's a global function and must be called as such. Also in PHP, functions are entirely different to object methods so there is no $this available and certainly no properties or methods on $this.
__________________
salathe@php.net
Salathe is offline  
Reply With Quote