PHP code to count all user downlines from LEFT and RIGHT Heirrachy

I need a functional php code that would count all referrals infinitely. In my website, each user is referred by an "upline" during registration. These data are in mysql database.

*P.S My website is MLM (multilevel Marketing) 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 only H 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, i want the count to go deep down the hierrachy [login to view URL] 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 downlines 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 will implement this 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

Ferdigheter: MySQL, PHP

Se mer: binary tree php code example, binary tree source code in php, mlm binary tree php code, mysql binary tree query, mlm database structure mysql, mysql recursive query parent child tree, php script count left right nodes binary tree, php code facebook user activity, php code count total tickets booking samples, php code count product purchased times, javascript code count user website, php code approve user registration, php code registration user website, php code detect user invisible, php ajax count user online, user registration admin simple php code, source code php mysql create user registration, php auto count user online, flash scroll left right mouse code, user register php code

Om arbeidsgiveren:
( 0 omtaler ) Lagos, Philippines

Prosjekt-ID: #16392621

24 frilansere byr i snitt $20/t for denne jobben


fine i can make the custom php function as per your image but need to discuss some technical logics before i estimate so let me know when you are available to discuss this in more detail ?

$22 USD / time
(161 Omtaler)

Hello, Dear client we have checked your project [ PHP code to count all user downlines from LEFT and RIGHT Heirrachy ] Please share your Ideas and Business details for your website so we can suggest you a best plat Mer

$22 USD / time
(26 Omtaler)
$22 USD / time
(150 Omtaler)

Greetings, We analyzed your project (PHP code to count all user downlines from LEFT and RIGHT Heirrachy ). I will do this work as per your requirement and expectation. i had great experience in developing web and ap Mer

$22 USD / time
(54 Omtaler)

Hi, How are you? I have checked your project requirment, I am senior web app developer and full experience on web development. I have ever developed admin panel of insurance company & Vehicle Rent for DPD using Djang Mer

$20 USD / time
(40 Omtaler)

Hello, I have recently work MLM (Binary MLM, Unilevel MLM) these are developed in Laravel framework Please visit the links to see my experience I can show you the admin panel and user panel [login to view URL] Mer

$15 USD / time
(86 Omtaler)
$22 USD / time
(32 Omtaler)

Hello! I've noticed your project and I would like to propose a cooperation. I can provide you with an intelligent full-stack developer, PHP expert, experienced with Javascript Angular.js, HTML, MySQL, CSS, Bootstrap, Mer

$22 USD / time
(16 Omtaler)

Dear client, Thank you for allowing me to post bid on your project. Description of project----PHP code to count all user downlines from LEFT and RIGHT Heirrachy Iam ready to start now....i can provide you Great Qua Mer

$16 USD / time
(29 Omtaler)

Hi, Greeting of day. I being a WebExpert, with over 7 year's of experience in Web development (i.e, Symfony3, Symfony2, Symfony1,Laravel,Codeigniter, wordpress) I can assure you to provide 100% of quality work Mer

$15 USD / time
(52 Omtaler)


$22 USD / time
(20 Omtaler)

I WILL BUILD THE EXACT PHP FUNCTION THAT YOU WANT WITH ALL THE FEATURES AND FUNCTIONALITIES THAT YOU WANT. COMPLETE PHP FUNCTION I bring 10+ years of experience and over 150+ projects that have originated from arou Mer

$22 USD / time
(46 Omtaler)

Greetings! I will create PHP script that will calculate number of refered user on LEFT or RIGHT leg of user tree. I am professional Web Developer and co-owner of a web-development team with 15+ years of experience in W Mer

$24 USD / time
(12 Omtaler)

Hello, I can deliver you fast solution in short time period for counting nested leafs in the tree. I have 9 years development experience. Will be happy to implement requested changes with guarantee of high quality. Mer

$27 USD / time
(13 Omtaler)

Hi Mate I have read your job description and understand your needs.I would like to discuss your project with you in. So kindly ping me when you will be available for discussion.I am ready to start work after discuss Mer

$18 USD / time
(33 Omtaler)

I have 4+ years experince in Web Developer/Designer in Wordpress with ccustom development and With Having Good Interpersonal & Communication in English.I have checked your requirements and i am able to help you for the Mer

$22 USD / time
(23 Omtaler)

Dear Client, Thanks for providing opportunity to bid on the project I have 8+ years of experience in making site on php using myql from scrap. I also expertise in cms like wordpress Some of the PHP sites are Mer

$15 USD / time
(12 Omtaler)

Hello! I can do this task. Before calculate children need organize data like on this article [login to view URL] then calculation will be easy request like SELECT count() FROM Mer

$22 USD / time
(5 Omtaler)

Hii Sir, I would love to do this type of work because I have already worked on this type of projects in my previous job. We're working on data of millions of people. I got expertise in fast processing this type of mys Mer

$15 USD / time
(9 Omtaler)

Hi, i reviewed the image and understood the function you wanted to apply on your website. i will do the coding and provide the said function which work as you have mentioned that It will count the left and right node o Mer

$22 USD / time
(8 Omtaler)