PHP code to count all downlines from LEFT and RIGHT Heirrachy of a user
- or -
Post a project like this$10
- Posted:
- Proposals: 4
- Remote
- #1871055
- Expired
Description
Experience Level: Entry
General information for the website: PHP Coding
Description of requirements/features: I need a perfect php code that would count all referrals directly and indirectly a person infinitely. In my website, each user is referred by an "upline" .
*P.S My website is MLM by the way.
PLEASE look at the attached picture example and the following is seen: A is referrer of B & C; B is referrer of D & E; C is referrer of F & G; while G referred H only at the moment.
"A" has total of 7 referrals already (3 from left and 4 from right). assuming, this referral process continues deep down the genealogy infinitely.The picture is just an example, i will need you to do this code into my website.
My need is a php code that would count the total current number of referrals under a user from his right leg (separately) and left leg (separately) no matter the number of current downline he has?.
In the picture example above, we can easily see that "A" has his LEFT's downline count to be '3' and RIGHT's count to be '4'. I want this implemented in MLM website that has thousands of users and each user needs to know their downline counts (LEFT and RIGHT LEG). the users are stored in MYSQL database
Extra notes:
Description of requirements/features: I need a perfect php code that would count all referrals directly and indirectly a person infinitely. In my website, each user is referred by an "upline" .
*P.S My website is MLM by the way.
PLEASE look at the attached picture example and the following is seen: A is referrer of B & C; B is referrer of D & E; C is referrer of F & G; while G referred H only at the moment.
"A" has total of 7 referrals already (3 from left and 4 from right). assuming, this referral process continues deep down the genealogy infinitely.The picture is just an example, i will need you to do this code into my website.
My need is a php code that would count the total current number of referrals under a user from his right leg (separately) and left leg (separately) no matter the number of current downline he has?.
In the picture example above, we can easily see that "A" has his LEFT's downline count to be '3' and RIGHT's count to be '4'. I want this implemented in MLM website that has thousands of users and each user needs to know their downline counts (LEFT and RIGHT LEG). the users are stored in MYSQL database
Extra notes:
Albert F.
100% (3)Projects Completed
3
Freelancers worked with
3
Projects awarded
25%
Last project
14 Jul 2017
Nigeria
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Do you already have a database structure with basic data- if you can share? Or should i prepare such database too ?
579446
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies