Database Error:
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 orderwise' at line 3
Last Query:
select * from courses
WHERE flag!="n" and category_id=
ORDER BY orderwise
#0 Database->notify() called at [/home/onlinetr/public_html/lib/class.database.php:90]
#1 Database->query(select * from courses
WHERE flag!="n" and category_id=
ORDER BY orderwise) called at [/home/onlinetr/public_html/lib/class.database.php:230]
#2 Database->resulter(select * from courses
WHERE flag!="n" and category_id=
ORDER BY orderwise) called at [/home/onlinetr/public_html/lib/class.database.php:98]
#3 Database->numRows(select * from courses
WHERE flag!="n" and category_id=
ORDER BY orderwise) called at [/home/onlinetr/public_html/courses.php:40]

