Hi Bucky,
I am a beginner web developer with basic knowledge of PHP, HTML 5, CSS 3, some JavaScript and MySQL.
I am encountering a problem in a PHP-based program that i am writing and i was wondering if you could help me out.

I want to use PHP or any suitable language available to fetch exam scores from a database and then determine the 1st, 2nd, 3rd....yadi yada yadi yada.
Then later insert into another table in the database for future use.
I tried the following but its not working for me:



Thanks in Advance!