| | |
Referral/Affiliate?
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jun 2006
Posts: 20
Reputation:
Solved Threads: 0
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.
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.
•
•
Join Date: Jul 2004
Posts: 494
Reputation:
Solved Threads: 21
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.
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.
![]() |
Similar Threads
- Is Stormpay a credible payment system? (eCommerce)
- AdaptiveOffice.com, MessageClips.com, CodeRank.com, CellJolt.com, more - $35 Each (Domain Names for Sale)
- Google Referral Program (Search Engine Optimization)
Other Threads in the PHP Forum
- Previous Thread: Rich Text Editor
- Next Thread: PHP Internet search Engine - name
| Thread Tools | Search this Thread |
.htaccess action ajax apache api array auto beginner binary bounce broken cakephp checkbox class cms code cron curl database date display dynamic echo email error errorlog file files folder form format forms function functions google href htaccess html image include insert integration interactive ip java javascript joomla limit link login loop mail malfunctioning masterthesis menu mlm mod_rewrite multiple mysql nodes oop paypal pdf php popup problem query radio ram random recursion reference regex remote return script search server sessions sms soap source space sql syntax system table tutorial unset update upload url validation validator variable video web websitecontactform xml youtube





