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 modelfiles.ID' at line 2
Function trace_message in "/home/mmm/public_html/include/db.class.php" at line 20.
Failed Statement : 

SELECT * FROM `modelfiles` WHERE modelID=
ORDER BY modelfiles.ID