MAKTABAH AL-MUFID Toko Buku Islam Online Bermutu, Murah, Diskon | Buku | Kitab | CD kajian | Manhaj Salaf

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-10,10' at line 16

		SELECT p.*, pl.`description`, pl.`description_short`, pl.`link_rewrite`, pl.`meta_description`, pl.`meta_keywords`, pl.`meta_title`, pl.`name`, i.`id_image`, il.`legend`, m.`name` AS manufacturer_name, tl.`name` AS tax_name, t.`rate`
		FROM `ps_product` p
		LEFT JOIN `ps_product_lang` pl ON (p.`id_product` = pl.`id_product` AND pl.`id_lang` = 4)
		LEFT JOIN `ps_image` i ON (i.`id_product` = p.`id_product` AND i.`cover` = 1)
		LEFT JOIN `ps_image_lang` il ON (i.`id_image` = il.`id_image` AND il.`id_lang` = 4)
		LEFT JOIN `ps_tax` t ON t.`id_tax` = p.`id_tax`
		LEFT JOIN `ps_tax_lang` tl ON (t.`id_tax` = tl.`id_tax` AND tl.`id_lang` = 4)
		LEFT JOIN `ps_manufacturer` m ON m.`id_manufacturer` = p.`id_manufacturer`
		LEFT JOIN `ps_category_product` cp ON (cp.`id_product` = p.`id_product`)
		INNER JOIN `ps_category_group` ctg ON (ctg.`id_category` = cp.`id_category`)
		WHERE p.`id_manufacturer` = 42 AND p.`active` = 1
		AND ( ctg.`id_group` = 1)
		GROUP BY p.`id_product`
		ORDER BY `date_upd` ASC 
		LIMIT -10,10