ðÒÉ×ÅÔ!
Alexander Ross wrote:
> I have an array filled with objects. Each object has a method called
> "display".
>
> I have
>
> $var = $arr[0];
> $var->display();
>
> but I keep getting an error. What am I doing wrong?
> (I do a print_r of the array immediately before this code and there is
I have an array filled with objects. Each object has a method called
"display".
I have
$var = $arr[0];
$var->display();
but I keep getting an error. What am I doing wrong?
(I do a print_r of the array immediately before this code and there is an
object at array[0])
Thanks
Alex
--
PHP Ge
2 matches
Mail list logo