Post Project
  • Search
    • Buyers can
    • Search offers to buy now
    • Search freelancers to request a proposal
    • Freelancers can
    • Search projects to quote on
  • How it works
  • Log in
  • Sign up
  • Freelancer?
Browse by Category
    Technology & ProgrammingWriting & TranslationDesignDigital MarketingVideo, Photo & ImageBusinessMusic & AudioMarketing, Branding & SalesSocial Media

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

    - or -

    Post a project like this
    30/03/2018
    $10
    • Posted: 5 years ago
    • Proposals: 7
    • Remote
    • #1918407
    • Expired
    Rajendra S.
    Rajendra S.
    Expert in Web Application & ZOHO API, React App
    Top Endorsed
    India Indore
    Ahmed M.
    Ahmed M.
    Full stack Developer
    Egypt Cairo
    Vijay K.
    Vijay K.
    Web developer
    Netherlands Amsterdam
    Naresh S.
    Naresh S.
    Expert in php yii cakephp codeigniter laravel html5 scraping website node.js, reactjs python aws cloud machine learning data Analyst css3 javascript perl Api mysql json angular moodle wordpress
    Top Endorsed
    United States Little Elm
    Gagan S.
    Gagan S.
    PHP, MYSQL,WORDPRESS, LARAVEL, AJAX, CSS, HTML, CAKEPHP, CODEIGNITER, JAVASCRIPT, JQUERY, PAYPAL API. PHOTOSHOP
    Top Endorsed
    India Bangalore
    Satish M.
    Satish M.
    Virtual Assistant,Full Stack PHP Developer
    India Ghandinagar
    Harsh M.
    Harsh M.
    Software Professional, 18 Yrs, Excellent English
    India Dharwad
    16124312116371108838666482873591914257250460
    Rajendra S.Ahmed M.Vijay K.Naresh S.Gagan S. + 2 others have already sent a proposal.
    • 9
    • 9

    Description

    Experience Level: Entry
    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 tree.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 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
    •  
    Albert F.
    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 in

    Clarification Board Ask a Question

    • 28 Feb 2018Sunil K.

      Can you please attach the picture you have referred to and also a bit about the database table schema since that will give me a good idea of time needed to get this done and then I will be able to make an informed bid? Thanks, Sunil.

    601387
    30/03/2018
    $10

    - or -

    Post a project like this
    Albert F.
    Albert F.
    100% (3)
    Projects Completed
    3
    Freelancers worked with
    3
    Projects awarded
    25%
    Last project
    14 Jul 2017
    Nigeria

    Related project Searches


    mysql database multi level marketing (mlm) PHP programming language web

    Product

    • About
    • Team
    • Careers

    Support

    • How it works
    • Trust & Safety
    • Help Centre

    Discover

    • GuidesStoriesNews

    Resources

    • Customer Stories
    • Business Cost Calculator
    • Startup Cities

    Browse

    • Freelance Services
    • Freelance Services By Country
    • Freelance Skills
    • Terms
    • Privacy
    • Sitemap
    • Company Details
    • © 2023 People Per Hour Ltd
    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