jbradley04 Posted January 1, 2013 Share Posted January 1, 2013 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! Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 1, 2013 Share Posted January 1, 2013 Best design is not scamming people. Quote Link to comment Share on other sites More sharing options...
Christian F. Posted January 1, 2013 Share Posted January 1, 2013 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. Quote Link to comment Share on other sites More sharing options...
Jessica Posted January 1, 2013 Share Posted January 1, 2013 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. Quote Link to comment Share on other sites More sharing options...
trq Posted January 1, 2013 Share Posted January 1, 2013 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.