Posted: 6/16/2011
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 POSa 0 0 0b a a Lc a a Rd a b Le b b Rf c c Lg c c RUID= User IDSID= Sponsor IDUPID= Upline IDPOS= Position
also if possible can any 1 guide me i makeing a tree like structure.
Posted: 6/17/2011
Hi,First of all what is the criteria of deciding SID? How is SID=c for UID=f?
SID or sponsor id will be filled manually during registration of the customer.
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?
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."