PHP --> Multi tier referral system

1 replies
I am currently programming a member site, and i need a multi tier referral system for this.

So, people can sign up under others, and have 5 different levels in that, eg:

I sign up
user 2 signs up under me
user 3 signs up under user 2
user 4 signs up under user 3
user 5 signs up under user 4


Now, i have to store this, because when user 5 takes an action, user 4,3,2 and 1 should be credited.

I can code it, but i, a bit lost what kind of structure i would use for this....

Could anyone give me a hand?
#&gt #> #multi #php #referral #system #tier

Trending Topics