Re: Referencing Multi Dimensional Arrays

From: Date: Wed, 01 Dec 2004 17:23:00 +0000
Subject: Re: Referencing Multi Dimensional Arrays
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-203232@lists.php.net to get a copy of this message
On Thursday 02 December 2004 01:14, Robinson, Matthew wrote: > I've kind of solved this question already using recursion but I > recon (in the grand tradition) that someone has a better solution! > > I have an multi dimensional array that is of variable depth, a snippet > is shown below. The problem is that I don't know how deep the array goes > as any entry can contain further entries which can contain further > entries and as the array grows the data is increasingly unknown. My > first thought was to use variable variables but the following doesn't > work: Sorry if I missed it, what was the question? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* If we all work together, we can totally disrupt the system. */

« previous php.general (#203232) next »