do 24 hodin
844 638 537
DB Error: selectSingle query failed

SELECT product_categories.*, product_categories.value_cs AS name, image.full_name AS image, eshop_markets.value_cs AS market FROM product_categories LEFT JOIN (SELECT object_id, file_id, CONCAT(name, '.', ext) AS full_name FROM file_attachments LEFT JOIN files ON files.id = file_attachments.file_id WHERE channel_id = 2 AND main = 1) AS image ON product_categories.id = image.object_id LEFT JOIN eshop_markets ON eshop_markets.id = product_categories.market_id WHERE product_categories.id =

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 '' at line 9