Hi Richard, Color me confused. I removed "global $arrtree;" and added "$arrtree = array();" to the function buildProjectTree() and now the parent function (listProjectChildren) returns no values at all. I've checked the page from which listProjectChildren() is being called, and $arrtree does not appear as a variable in it at all, so it seems "global $arrtree;" was doing SOMETHING, but at this point I have no idea what. Still trying to work this out, if anyone else has any suggestions? Much warmth, Murray > -----Original Message----- > From: Richard Lynch [mailto:ceo@xxxxxxxxx] > Sent: Monday, 2 May 2005 5:04 AM > To: Murray @ PlanetThoughtful > Cc: php-general@xxxxxxxxxxxxx > Subject: Re: Problem with array > > On Sun, May 1, 2005 10:21 am, Murray @ PlanetThoughtful said: > > <? > > [Here there be snippage: please see original post for outline of problem] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php