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 !
Edited
Is there any way in java to do it? if we have same data in array ??