ListQuery :
SELECT *
FROM WIB_GOODS
LEFT JOIN WIB_CATEGORY ON go_category=ca_idx
WHERE go_use='Y'
AND ca_category=2 AND go_category=8
ORDER BY go_rangking DESC, go_regdate desc
LIMIT -40, 40;
--> 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 '-40, 40' at line 7