Fatal error:
SELECT
l.state as link_state,
c.category_name,
c.is_opened,
c.pagesize,
c.columnsize,
p.product_info,p.uid, p.Simg,p.Bimg,p.Limg,p.send_area, p.product_name, p.product_code,p.is_option,p.is_discount,p.createdate,
p.serialized,
p.sp_price, p.sp_sale_price, p.hi_price, p.hi_sale_price,
p.no_price, p.no_sale_price, p.lo_price, p.lo_sale_price,
p.sp_milage, p.hi_milage, p.no_milage, p.lo_milage
FROM
rich_products_link l
LEFT JOIN rich_category c ON l.category_uid=c.uid
LEFT JOIN rich_products p ON l.product_uid=p.uid
WHERE
(l.category_uid>=70000 AND l.category_uid<80000) AND
p.is_opened='1' AND
l.state='0'
group by
l.product_uid
order by
l.sort_order2 ASC
LIMIT
60,-12
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 '-12' at line 25 in /www_root/common/mysql.php on line 114