If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Confusing as it is you have an associative arrays which is not an array at all, they are just complex objects. That means you have no length property to work with. Only way to know how many you have is to loop through it and count.