Loading ...

MLM script problem

Who is online?  0 guests and 0 members
home  »  forums   »  asp.net topics   »  data access   » MLM script problem

MLM script problem

Posts under the topic: MLM script problem

Posted: 6/16/2011

Lurker 15  points  Lurker
  • Joined on: 6/16/2011
  • Posts: 3

I have a registration form where the user will enetr a UID , SID and POS. i need to add users in a table structure like below, if a new user register with an id h , with a sponsor Id a and position L (left) how can i get the UID d.

UID    SID    UPID    POS
a    0    0    0
b    a    a    L
c    a    a    R
d    a    b    L
e    b    b    R
f    c    c    L
g    c    c    R


UID= User ID
SID= Sponsor ID
UPID= Upline ID
POS= Position

 

also if possible can any 1 guide me i makeing a tree like structure.


Posted: 6/17/2011

Guru 16773  points  Guru
  • Joined on: 4/19/2009
  • Posts: 490

Hi,

First of all what is the criteria of deciding SID? How is SID=c for UID=f?


Posted: 6/17/2011

Lurker 15  points  Lurker
  • Joined on: 6/16/2011
  • Posts: 3

SID or sponsor id will be filled manually during registration of the customer.

 


Posted: 6/17/2011

Guru 16773  points  Guru
  • Joined on: 4/19/2009
  • Posts: 490

This is still confusing "if a new user register with an id h , with a sponsor Id a and position L (left) how can i get the UID g." What is the relationship between h and g?


Posted: 6/17/2011

Lurker 15  points  Lurker
  • Joined on: 6/16/2011
  • Posts: 3

sorry , i have corrected it "if a new user register with an id h , with a sponsor Id a and position L (left) how can i get the UID d."


Page 1 of 1 (5 items)