I am looking for a program that will calculate commission payment for each member for up to 7 levels deep, with each level having it own commission percentage. Pulling data from the mysql database for each member and how many are on each of their levels.