I have an object with array of elements in it...
for (...) {
$this->area[$k]->areaid;
$this->area[$k]->areaname;
}
etc...
i'm looking for a way to loop through and print these, without having to specify the name of the element, like this...
for (....) {
$this->area[$k]->[element 0];
$this->area[$k]->[element 1];
}
i would like to access this data without knowing what the actual parameter is called.
thanks.