Re: Create a hierarchical hash from flat source
| From: | Scott Baker | Date: | Wed, 22 Jun 2011 22:21:41 +0000 |
| Subject: | Re: Create a hierarchical hash from flat source | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-313664@lists.php.net to get a copy of this message | ||
On 06/22/2011 03:17 PM, Simon J Welsh wrote:
> You still need to pass the value by reference to assign_children(), so:
> $new = &$leaf[$pid];
> assign_children($pid,$list,&$new);
Aha... that was it! Thanks!
--
Scott Baker - Canby Telcom
System Administrator - RHCE - 503.266.8253