Re: [PHP] Creating Tree Structure from associative array

2006-10-20 Thread Jochem Maas
Robert Cummings wrote: > On Fri, 2006-10-20 at 09:20 -0700, Jürgen Wind wrote: >> for web browser: >> // WooohoOO! myself, I'm more partial to // YeeHaw! >> // >> echo ''; >> print_r( $tree ); > > True, but I do quick sample scripts from the command-line :D > > Cheers, > Ro

Re: [PHP] Creating Tree Structure from associative array

2006-10-20 Thread Robert Cummings
On Fri, 2006-10-20 at 09:20 -0700, Jürgen Wind wrote: > for web browser: > // WooohoOO! > // > echo ''; > print_r( $tree ); True, but I do quick sample scripts from the command-line :D Cheers, Rob. -- .. | InterJinn Applicat

Re: [PHP] Creating Tree Structure from associative array

2006-10-20 Thread Jürgen Wind
Robert Cummings wrote: > > On Thu, 2006-10-19 at 23:58 -0500, Larry Garfield wrote: >> That depends on what your data structure is, exactly, and what sort of >> tree >> structure you want on the other side. Please be more specific. >> >> On Thursday 19 October 2006 09:08, Angelo Zanetti wrot

Re: [PHP] Creating Tree Structure from associative array

2006-10-19 Thread Robert Cummings
On Thu, 2006-10-19 at 23:58 -0500, Larry Garfield wrote: > That depends on what your data structure is, exactly, and what sort of tree > structure you want on the other side. Please be more specific. > > On Thursday 19 October 2006 09:08, Angelo Zanetti wrote: > > Hi all, > > > > I have an assoc

Re: [PHP] Creating Tree Structure from associative array

2006-10-19 Thread Larry Garfield
That depends on what your data structure is, exactly, and what sort of tree structure you want on the other side. Please be more specific. On Thursday 19 October 2006 09:08, Angelo Zanetti wrote: > Hi all, > > I have an associative array, which contains parent and child > relationships. I've sea

Re: [PHP] Creating Tree Structure from associative array

2006-10-19 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-10-19 16:08:58 +0200: > Hi all, > > I have an associative array, which contains parent and child > relationships. I've searched the web for creating a tree structure from > this and found a few good sites but doesnt help 100% perhaps someone can > point me in the corr