With the following code I can iterate through the elements of the returned array:
foreach ($GLOBALS['myDB']->getAssets($i['uId']) as $x)
But I can’t figure out how to efficiently check the size of the returned array before entering the loop.
Any ideas?
1 Answer