Revenue Sharing Script?

Discussion in 'PHP' started by Black Nova, Dec 21, 2008.

  1. #1
    I am building a site where the most active members get the most revenue share. This would be done by having php calculate the % of points they have over the total for the site. The script would ask me 1 time a month to enter the total revenue from ads. The problem is how would i make it so that it divides it out amount 300+ people based on how many points they have?

    Any ideas would be really helpful.
     
    Black Nova, Dec 21, 2008 IP
  2. zerxer

    zerxer Peon

    Messages:
    368
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hmm.. I'd say to figure out how much per point you are paying that month by dividing your total revenue by the total number of points for all the people. Then go through all your people and multiply their individual total points by the amount per one point and there ya go.
     
    zerxer, Dec 21, 2008 IP
  3. Black Nova

    Black Nova Banned

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You defiantly think outside the box don't you? Thanks for the idea, i'm going to run with it :D
     
    Black Nova, Dec 21, 2008 IP