You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY club_file.position ASC, ID ASC' at line 1
Function trace_message in "/disk2/home/ulsu/public_html/include/db.class.php" at line 23.
Failed Statement : 

SELECT * FROM `club_file` WHERE clubID =  ORDER BY club_file.position ASC, ID ASC