Fatal error: Uncaught mysqli_sql_exception: 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' at line 1 in /mnt/web318/d3/59/52567559/htdocs/nw/class/dbfunctions.class.php:21
Stack trace:
#0 /mnt/web318/d3/59/52567559/htdocs/nw/class/dbfunctions.class.php(21): mysqli_query()
#1 /mnt/web318/d3/59/52567559/htdocs/nw/class4inc/forum.class.php(61): sql_query()
#2 /mnt/web318/d3/59/52567559/htdocs/nw/class4inc/forum.class.php(83): GetThreads()
#3 /mnt/web318/d3/59/52567559/htdocs/nw/inc/forum.inc.php(175): ShowThreads()
#4 /mnt/web318/d3/59/52567559/htdocs/nw/box.php(41): include('...')
#5 {main}
thrown in /mnt/web318/d3/59/52567559/htdocs/nw/class/dbfunctions.class.php on line 21