Hi, All
Presently I am working on a MLM (Multi Level Marketing) Software using PHP & MySQL. But I am not being able to display the Down line Tree of any particular member. I am using Pre order Tree. But my product should support Spill Over Binary Tree. Please Help me to develop the tree view. Thanks in advance.
anirban1087 0 Junior Poster in Training
Recommended Answers
Jump to Post. Please Help me to develop the tree view. Thanks in advance.
Without showing effort your thread will die young. explain more with some code, what you have done and where is the problem!
Jump to PostI cannot test and understand your code for now but what do you mean by "down the tree"?
Jump to Post@jkon
I believe the OP is using MPTT (Modified Preorder Tree Traversal).
sitepoint has a good example of this: http://articles.sitepoint.com/article/hierarchical-data-database
Jump to PostThe real question is, how much reading vs writing happens with your tree structure, with MPTT pulling data is very fast and you take a performance hit on the writes/updates as this requires touching a larger number of records. Where as adjacency takes its performance hit on read operations and …
All 16 Replies
jkon 672 Posting Whiz in Training Featured Poster
Stefano Mtangoo 455 Senior Poster
anirban1087 0 Junior Poster in Training
anirban1087 0 Junior Poster in Training
Stefano Mtangoo 455 Senior Poster
anirban1087 0 Junior Poster in Training
anirban1087 0 Junior Poster in Training
jkon 672 Posting Whiz in Training Featured Poster
mschroeder 251 Bestower of Knowledge Team Colleague
jkon 672 Posting Whiz in Training Featured Poster
anirban1087 0 Junior Poster in Training
mschroeder 251 Bestower of Knowledge Team Colleague
anirban1087 0 Junior Poster in Training
anirban1087 0 Junior Poster in Training
anirban1087 0 Junior Poster in Training
Rishos 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.