Fatal error: SELECT l.state as link_state, c.category_name, c.is_opened, p.uid, p.Simg, p.Limg,p.BSimg, p.Ximg, p.product_name, p.product_code,p.is_option,p.is_discount,p.send_area,p.flag,p.serialized,p.md_img_type, p.sp_price, p.sp_sale_price, p.hi_price, p.hi_sale_price, p.sp_milage, p.hi_milage, p.no_milage, p.no_price, p.no_sale_price FROM f123_products_link l LEFT JOIN f123_category c ON l.category_uid=c.uid LEFT JOIN f123_products p ON l.product_uid=p.uid WHERE (l.category_uid>=30000 AND l.category_uid<40000) AND p.is_opened='1' AND p.is_discount!='2' AND l.state='0' group by l.product_uid order by l.sort_order2 ASC LIMIT 336,-16
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 '-16' at line 23 in /home/re.123flower.co.kr/public_html/common/mysql.php on line 118