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 '-9, 9' at line 9

SELECT * FROM (`posts`) JOIN `post_image` ON `post_image`.`P_ID` = `posts`.`P_ID` JOIN `images` ON `images`.`I_ID` = `post_image`.`I_ID` WHERE `L_ID` = 1 AND `P_Status` = '1' AND `C_ID` = 1 ORDER BY `P_Date` Desc LIMIT -9, 9

Filename: /mnt/home4/rani567/public_html/modules/archive/models/mdl_archive.php

Line Number: 67