I am a bit new in php. I have a table called "enrollement" which contains subjects and scores of students.
some of the table data look like this
John Mathematics 70
Peter Mathematics 87
James Mathematics 55
I want to get the rank from the table for a particular student and I want the rank to be in the form 1st 2nd 3rd, etc
Pls help me out