I have a SOAP result set that the nuSoap extension has turned into a nice array for me. I'm sure I could scratch out some long way of looping it for what I want - but it seems there must be a faster way to just loop through the specific data elements. Here is the array:
Array
(
[xxxResult] => Array
(
[NewDataSet] => Array
(
[Table] => Array
(
[0] => Array
(
[ID] => 472
[Name] => abc
[Weight] => 0.15
[AppID] => 5133356895445
)
[1] => Array
(
[ID] => 7396
[Name] => def
[Weight] => 0.11
[AppID] => 51348575554
)
)
)
)
)
So what I want to do is simply loop through this such that I get:
<tr>
<td>[ID]</td>
<td>[Name]</td>
<td>[Weight]</td>
<td>[AppID]</td>
</tr>
...for each table row.
Seems there should be a quicker way than [xxxResult][NewDataSet][Table][0][ID] etc.