Флаконы и банки - полный список


Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 name' at line 1 in /home/u75886/aromashka.ru/www/260i848m/pdo.php:40 Stack trace: #0 /home/u75886/aromashka.ru/www/260i848m/pdo.php(40): PDOStatement->execute(Array) #1 /home/u75886/aromashka.ru/www/260i848m/sql_db.php(33): myPDOStatement->execute(Array) #2 /home/u75886/aromashka.ru/www/classes/class.php(1736): sql_db->write('*', 'aromashka_tov', 'WHERE `del_date...', 'ORDER BY name') #3 /home/u75886/aromashka.ru/www/classes/class.php(1557): main->write_tovars(NULL, 'id_kat IN ()', 'ORDER BY name', 174, 0, 0) #4 /home/u75886/aromashka.ru/www/index.php(366): main->write_tov(174) #5 {main} thrown in /home/u75886/aromashka.ru/www/260i848m/pdo.php on line 40