I'd point out that it is a bit redundant to calcualte the points per goal twice (once in the database, once in PHP), when you can do it once in the database and return it with everything else.
select *, (((fgm * 2) + tpm + ftm) / g) as ppg from ballers order by ppg desc
And then $row['ppg'] will be the database-calculated points per game.
I'd also replace "*" with "fgm, tpm, ftm, g", because those are the only fields you're using, and it's a waste of time and memory to request more than that from the database.
In fact, if the only reason you're selecting fgm, tpm, ftm, and g is so that you can calculate ppg, then you don't need to anymore, because you've already calculated ppg and so you only need to select that.
(I just noticed, you use "tpm" in the query and "tmp" in the program. One or the other is presumably a typo.)