in table rank I have three col A,B,C
A has a value of 2, B has a value of 6 and C has a value of 1
how can I write the PHP part to echo the name of the col and the value
from higher to lower
so it will echo B: 6 A: 2 C: 1
Do I have to go with a switch and test for all combos (9 cases) that sounds heavy)
much more if in the future I add one or two more ranking possibilities.