esthera
07-18-2007, 06:48 PM
i'm new to object oriented php
now I have a class
and wihtin the class I want to call a function with the $id
How do I call a function (that returns an array) and put it to an array.
I tried
$this->product= getM($this-->id);
but it's not working?
any suggestions as well for some good tutorial on this would be helpful.
function getM($id)
now I have a class
and wihtin the class I want to call a function with the $id
How do I call a function (that returns an array) and put it to an array.
I tried
$this->product= getM($this-->id);
but it's not working?
any suggestions as well for some good tutorial on this would be helpful.
function getM($id)