Creating Tree Structure from associative array
- From: angelo@xxxxxxxxxxxx (Angelo Zanetti)
- Date: Thu, 19 Oct 2006 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 correct direction? I've started to code it got to a point where I cant go any further, the code is pseudo code and dont want to reinvent the wheel.
any suggestions would be really appreciated.
Thanks in advance
--
------------------------------------------------------------------------
Angelo Zanetti
Systems developer
------------------------------------------------------------------------
*Telephone:* +27 (021) 469 1052
*Mobile:* +27 (0) 72 441 3355
*Fax:* +27 (0) 86 681 5885
*
Web:* http://www.zlogic.co.za
*E-Mail:* angelo@xxxxxxxxxxxx <mailto:angelo@xxxxxxxxxxxx>
.
- Follow-Ups:
- Re: [PHP] Creating Tree Structure from associative array
- From: Larry Garfield
- Re: [PHP] Creating Tree Structure from associative array
- Prev by Date: Re: [PHP] regex
- Next by Date: Re: [PHP] regex
- Previous by thread: Problems with open_basedir
- Next by thread: Re: [PHP] Creating Tree Structure from associative array
- Index(es):
Relevant Pages
|