Howard, I certainly don't mean to question you, but how can $i ultimately return the total number of items seen if $i and $j are both reset to 0 each time recursion occurs?

Edited by JohnQ (2004-03-15 02:29 PM)