Fatal error: Uncaught mysqli_sql_exception: 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 payment='ongoing'' at line 1 in /home/sarvpayi/market.anypardaz.ir/shopping_cart.php:8 Stack trace: #0 /home/sarvpayi/market.anypardaz.ir/shopping_cart.php(8): mysqli_query(Object(mysqli), 'SELECT * FROM t...') #1 {main} thrown in /home/sarvpayi/market.anypardaz.ir/shopping_cart.php on line 8