PDO exception 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 's, Chicken, Drinks, Water, Biscuits, Chips, Nutella, Nuts, Cheese, Detergents, D' at line 1 in /var/www/html/public_html/omn/library/db_function.php:35
Stack trace:
#0 /var/www/html/public_html/omn/library/db_function.php(35): PDO->query()
#1 /var/www/html/public_html/omn/catalogue_ar.php(48): DbFunctions->view_table()
#2 /var/www/html/public_html/omn/index_ar.php(230): include_once('...')
#3 {main}