PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hey all,
I'm trying to rank football players based on some calculations ($row['ffr_points']). I've got it working, but with one small problem...it doesn't take into account those players with the same point totals. For those players that have the same pt total, I would like to assign them the same rank #. Some pointers to get me in the right direction would be appreciated.
62. Kevin Johnson with 30.3 points
63. Wayne Chrebet with 30.3 points
....but they are assigned different ranks (#62 and #63). I would like it to assign them the same rank (ie #62 as above) if they have the same point total