I\'m trying to find out how I can force elements to start from the bottom going to the top.
I have searched through stackoverflow and I can\'t seem to get the answer th
Can you change $query to the following. That would be the easiest way to do it.
$query = "SELECT e.*, CONCAT(s.lname,', ', s.fname) name FROM enrollment e, student s WHERE e.studentID = s.studentID AND e.csID = '". $classID ."' ORDER BY sort DESC;";