Hi,

I need to display hierarchies (hierarchical structures).  I have a MYSQL
table with data like this:

Node,Parent
A,
B,A
C,A
D,B
E,B
F,D
G,A

It can go down to 10 levels.

I do not want display one level and then click to display the next, I want
to see the entire tree at once, say like this:

A
---B
------D
---------F
------E
---C
---G

Any ideas, scripts on how I can do this?  I seems like I have to use a
recursive function and /or arrays?

Any help will be appreciated!

Thanks
MH




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to