Invalid SQL: SELECT p.*, c.name AS cname, f.name AS fname, f.descr AS fdescr, l.*, i.id AS image FROM products p JOIN products_factories f ON f.id = p.factory JOIN products_categories c ON c.id = p.category LEFT JOIN products_imgs i ON i.pid = p.id LEFT JOIN products_linked l ON l.pid = p.id WHERE p.quantity > 0 AND p.category IN () 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 ')' at line 7 Ошибка подключения к базе данных.
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 7

Попробуйте нажать кнопку обновить в вашем браузере.

Администратору сайта отправленно сообшение о произошедшей ошибке.