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.

Recommended Answers

All 2 Replies

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.

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.

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.