A Database Error Occurred

Error Number: 1064

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 category_ID limit 0,1' at line 1

SELECT * FROM tb_download_cat WHERE category_ID = ORDER BY category_ID limit 0,1

Filename: models/Model_page.php

Line Number: 256