You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY num ASC' at line 1 Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /data/webdata/ielts/home/online_course/course_practice.php on line 93