I figured a bunch of stuff on how to get money value and profiles. Now I have an issue, when I want to output a URL that appears like this /player/2-First-Last.html I get nothing, but I can get /player.php?id=2 easily.

And having issues every time with sorting. Please need help. I basically inherrited the code, and know little to nothing.