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 'ORDER BY P.products_price ASC LIMIT 1' at line 1

SELECT * FROM products AS P, products_to_categories AS C, products_description AS PD WHERE P.products_id = C.products_id AND P.products_id = PD.products_id AND C.categories_id = 118 AND P.products_status = 1 AND P.products_id <> 8340 AND P.products_price < ORDER BY P.products_price ASC LIMIT 1

[TEP STOP]