Bottom to top
    element arrangement

前端 未结 3 2056
南旧
南旧 2021-02-19 09:46

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

3条回答
  •  长发绾君心
    2021-02-19 10:05

    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;";
    

提交回复
热议问题