0

I am not getting how to display stored database in MLM format?
I have attached problem and desired answer images

Database fields are :
id new_id, name
I want to display all members under member 1 all or one of that may be having member under itself.

Attachments answer.JPG 15.56 KB tree.JPG 22.22 KB
3
Contributors
2
Replies
4
Views
7 Years
Discussion Span
Last Post by ravikc
0

Your post is a bit unclear on which picture you want the result to look like. If you want the result as a table then that can be achieved by a simple while loop and a html table. If however you are trying to generate an image with the circles then I would suggest looking at the gd library.

0

I am not getting how to display stored database in MLM format?
I have attached problem and desired answer images

Database fields are :
id new_id, name
I want to display all members under member 1 all or one of that may be having member under itself.

Hello friend ,

i am facing the same problem for generating binary tree (parent-child) with image.please could you help me regarding this issue.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.