Đã Đóng

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 [url removed, login to view] 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

Kĩ năng: MySQL, PHP

Xem nhiều hơn: 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

Về Bên Thuê:
( 0 nhận xét ) Lagos, Philippines

ID dự án: #16392621

25 freelancer đang chào giá trung bình $21/giờ cho công việc này

meet2amitvw

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 / giờ
(158 Nhận xét)
9.3
Shopify

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 Thêm

$22 USD / giờ
(25 Nhận xét)
6.9
suju8811

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 Thêm

$20 USD / giờ
(33 Nhận xét)
6.9
$22 USD / giờ
(132 Nhận xét)
7.1
prashushinde9

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 Thêm

$22 USD / giờ
(54 Nhận xét)
7.1
pratikshapkl

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] Thêm

$15 USD / giờ
(80 Nhận xét)
6.0
zendo

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, Thêm

$22 USD / giờ
(16 Nhận xét)
5.4
degreeinfo

Hello

$22 USD / giờ
(20 Nhận xét)
5.5
kripanidhi

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 Thêm

$22 USD / giờ
(39 Nhận xét)
5.5
irfankhokhar1986

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 Thêm

$15 USD / giờ
(46 Nhận xét)
5.2
Amitkumar1806

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 Thêm

$16 USD / giờ
(14 Nhận xét)
5.3
symaticssolution

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 Thêm

$18 USD / giờ
(23 Nhận xét)
5.4
$22 USD / giờ
(10 Nhận xét)
5.5
bhatiasiddharth

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 Thêm

$15 USD / giờ
(12 Nhận xét)
4.8
hadiachaudary

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 Thêm

$22 USD / giờ
(23 Nhận xét)
4.9
tsebro

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 Thêm

$24 USD / giờ
(11 Nhận xét)
6.0
nitaypanas

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 Thêm

$22 USD / giờ
(5 Nhận xét)
4.2
markbrandt968

Dear client I understood your job perfectly I think that we can do your job by adding node id to every user for identifying user's position I studied algorithm in my college time so i have a strong confidence in gra Thêm

$25 USD / giờ
(8 Nhận xét)
4.2
Darshit222

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 Thêm

$15 USD / giờ
(8 Nhận xét)
3.7
getdesignwork

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 Thêm

$22 USD / giờ
(8 Nhận xét)
3.6