Ok so if you goto my roster and check it out you'll se what I'm talking about if you take the time to do a bit of counting. Anyway, the discrepencies seem to be within the 1 - 39 range.

1 - 29: Should be 80

30 - 39: Should be 41

40 - 49: Right

50 - 59: Right

60 - 69: Right

70 & up: Right

Edit: Best I can tell the "total" figures for each grouping is controlled by the following bit of code. I've been playing around with it but can't seem to get it to tally up right.

- Code: Select all
`case 0:`

$num_lvl_1_29 += $row['amount'];

break;

case 1:

case 2:

case 3:

$num_lvl_30_39 += $row['amount'];

break;

case 4:

$num_lvl_40_49 += $row['amount'];

break;

case 5:

$num_lvl_50_59 += $row['amount'];

break;

case 6:

$num_lvl_60_69 += $row['amount'];

break;

case 7:

$num_lvl_70_79 += $row['amount'];

break;

case 8:

$num_lvl_80 += $row['amount'];

break;