RE: [PHP] Problem with array
| From: | Murray @ PlanetThoughtful | Date: | Sun, 01 May 2005 20:08:30 +0000 |
| Subject: | RE: [PHP] Problem with array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-214294@lists.php.net to get a copy of this message | ||
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@l-i-e.com]
> Sent: Monday, 2 May 2005 5:04 AM
> To: Murray @ PlanetThoughtful
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] 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]