Dogodila se greška u radu sa bazom podataka.

Error Number: 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 A.created_at DESC' at line 1

SELECT A.*, B.order_name, B.order_city FROM cart_reviews AS A INNER JOIN cart_orders AS B ON A.order_id=B.id JOIN cart_orders_products AS C ON B.id=C.order_id WHERE A.status=1 AND C.product_id= ORDER BY A.created_at DESC

Filename: /home/cvecacom/codebase/applications/frontend/controllers/products.php

Line Number: 87