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 MariaDB server version for the right syntax to use near 'and online = ''' at line 1 in /home/xnbcwlhb/domains/shopinter1998.com/public_html/category_list.php:144
Stack trace:
#0 /home/xnbcwlhb/domains/shopinter1998.com/public_html/category_list.php(144): PDO->query('select * from s...')
#1 /home/xnbcwlhb/domains/shopinter1998.com/public_html/sum.php(140): include('/home/xnbcwlhb/...')
#2 {main}
thrown in
/home/xnbcwlhb/domains/shopinter1998.com/public_html/category_list.php on line
144