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 table_header_data.ID' at line 1
#1 Function trace_message in "/home/edl/public_html/include/db.class.php" at line 21.
#2 Function runQuery in "/home/edl/public_html/include/db.class.php" at line 280.
#3 Function selectFieldsWhere in "/home/edl/public_html/include/db.class.php" at line 251.
#4 Function selectWhere in "/home/edl/public_html/include/plugin/table.class.php" at line 22.
#5 Function getTableHeaderData in "/home/edl/public_html/draw/plugin/table.draw.php" at line 70.
#6 Function drawTableOLD in "/home/edl/public_html/draw/plugin/table.draw.php" at line 11.
#7 Function drawTable in "/home/edl/public_html/action/action.switch.php" at line 197.
#8 Function include_once in "/home/edl/public_html/index.php" at line 306.