-
SitePoint Zealot

Hello,
I have an object that contains arrays.....
i.e. if I do the following:
$tester = $billingManager->getOverview("$user_selected", "$year_selected", "$month_selected", "$key");
and then.....
print_r($tester); - I receive the following output to the browser:
genlist Object ( [list] => Array ( [bills] => Array ( [0] => billing Object ( [CustId] => 26 [year] => 2001 [month] => 01 [num_access] => 10 [transPrice] => [totalCost] => 0 [AccessType] => 5 ) ) [total] => 0 ) [name] => Simple Quote Bill [outputStyle] => default )
My question is:
How can I pinpoint various elementds from the object?
e.g. If I wanted the num_access figure (i.e. 10) how can I access this please.
I've tried: echo "pinponted is " . $tester->billing["num_access"] . "<br>";
but, unfortunately this results in no output.
Can someone help please?
Thank you,
Regards,
Jason
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks