Answer the question
In order to leave comments, you need to log in
How to sort out the referral structure with an algorithm?
Hey! I tried a lot of things, but to no avail, I want to ask for your help, friends!
There are 2 tables in mysql - users and user_referrals .
In users the columns are id, login, ref. There are entries with an empty ref.
Example:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question