Referral/Affiliate?

Reply

Join Date: Jun 2006
Posts: 20
Reputation: omesa is an unknown quantity at this point 
Solved Threads: 0
omesa omesa is offline Offline
Newbie Poster

Referral/Affiliate?

 
0
  #1
Sep 18th, 2006
Hello guys,
I have a small problem whete there's this system i am creating.
Users register and are added to the database. Users get pointe after two users have referred him or her. after attaining 100 points(in form of goods or service) the users can either be removed form the database or they can redeem their points. either way the second person in the database gets the next points... and so on.
my problem is in the third loop that goes to the second person on the database....
I have managed to count the 10 people required, but the loop hangs my machine after i try to award the second person his/her points. any help will be greatly appreciated.

ps: i will bring the code tomorrow.
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 494
Reputation: Puckdropper is an unknown quantity at this point 
Solved Threads: 21
Puckdropper Puckdropper is offline Offline
Posting Pro in Training

Re: Referral/Affiliate?

 
0
  #2
Sep 18th, 2006
Sounds like infinate looping... Watch for it carefully.
www.uncreativelabs.net

Old computers are getting to be a lost art. Here at Uncreative Labs, we still enjoy using the old computers. Sometimes we want to see how far a particular system can go, other times we use a stock system to remind ourselves of what we once had.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC