query result error
No: 1064
Msg: 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 imageorder' at line 1
SQL: SELECT title, filename, description, url, calltoaction FROM cmsimages WHERE type = 'headers' AND typeid = ORDER BY imageorder