Jump to content

Help With A Database Design


jbradley04

Recommended Posts

Hello,

I need help with a design of MySQL table. This is for a MLM script that has one matrix table that describes the actual matrix itself. I now need to create a table that would have the userid's of every user in different matrices and their relationship to each other.

The problem I am encountering is that a depth of 10 levels could be 1000's of users in the matrix....

So, with that being said, what would be the best design for this?

Thanks for any help!

Link to comment
Share on other sites

MLM is not scamming, and it's not the same as a pyramid scheme. While they may seem similar due to the shared organisational structure, MLM networks generate revenue by selling products while pyramid schemes "generate" revenue by having people pay for a placement.

Lots of legit MLM companies out there, Tupperware being perhaps the most famous one. ;)

 

Though, back to your question: What part of the design are you looking for, the HTML/template design, database/query design, or the overall design? If you're talking about how to get it retrieved from the database, you're looking at a queries for leaf nodes. I did a quick search on the net, and I found this thread amongst a few others.

In any case, if you research tree nodes or "tree structures" you should be able to find a lot more information to help you solve your issue.

Link to comment
Share on other sites

And you have to buy the products and buy the kits and pay membership fees ... And recruit people. It's the same thing but with a product. ::)

 

Still, your reply adds no value to the topic. If you don't think a thread is appropriate, report it. If you simply don't like the subject, ignore it.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.