Ok, I hit a Web Services server using SOAP which returned some data. Using a client script I found I got date that looks like this when using the print_r function:
(
[Category] => Array
(
[0] => Array
(
[ParentCategoryID] => 2
[ParentCategoryDesc] => CONCERTS
[ChildCategoryID] => 87
[ChildCategoryDesc] => 50s/60s ERA
[GrandChildCategoryID] => 25
[GrandChildCategoryDesc] => -
)
[1] => Array
(
[ParentCategoryID] => 2
[ParentCategoryDesc] => CONCERTS
[ChildCategoryID] => 22
[ChildCategoryDesc] => ALTERNATIVE
[GrandChildCategoryID] => 25
[GrandChildCategoryDesc] => -
)
)
)
the call I make to get this data is:
$result = $client->call('GetAllCategories', array('parameters' => $param), '', '', false, true);
and the to display it I used:
print_r($result);
Ok, now what? Forgive me I am an average PHP guy. I cannot figure out how to access the array and work with the data inside.
I guess I need some assistance pulling the data out of that array and then working with it. From there I am fine..
Thanks
John M