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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php