Fatal error: Uncaught exception 'PDOException' with message '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 'class=' at line 1' in /home/topzhok/zavod-palitra.ru/docs/view_product.php:18 Stack trace: #0 /home/topzhok/zavod-palitra.ru/docs/view_product.php(18): PDO->query('UPDATE table_pr...') #1 {main} thrown in /home/topzhok/zavod-palitra.ru/docs/view_product.php on line 18