php tree structure problem
Posted
by agazerboy
on Stack Overflow
See other posts from Stack Overflow
or by agazerboy
Published on 2010-03-09T01:49:21Z
Indexed on
2010/03/09
1:51 UTC
Read the original article
Hit count: 317
Hi All, I have all my data in my database. It has following 4 columns
id source_clust target_clust result_clust
1 7 72 649
2 9 572 650
3 649 454 651
4 32 650 435
This data is like tree structure. source_clust and target_clust generate target_clust. target_clust can be source_clust or target_clust to make a new target_clust. Is there any php function or class that I can use to generate tree structure for my data????
I see this MySql site they are doing exactly what I need but I couldn't find how to implement that query in my data.
Thanks !
© Stack Overflow or respective owner