Blbej.cz-697- mysql error
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 '-15, 15' at line 20
in:
[SELECT pd.products_name as product_name, p.products_id as pid, p2c.categories_id as cid, pd.products_description as description, pd2.short_description as short_description, p.products_image as image, p.products_price as price FROM __blbej__products_description pd INNER JOIN __blbej__products p on p.products_id = pd.products_id and pd.language_id = 1 INNER JOIN __blbej__products_to_categories p2c on p2c.products_id = p.products_id INNER JOIN products cp on cp.id = p2c.products_id INNER JOIN products_description pd2 on pd2.products_id = p.products_id WHERE p2c.categories_id = "217466" GROUP BY p.products_id ORDER BY p.products_price ASC LIMIT -15, 15]