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/payment_at_home.php:20 Stack trace: #0 /home/sarvpayi/market.anypardaz.ir/payment_at_home.php(20): mysqli_query(Object(mysqli), 'SELECT * FROM t...') #1 {main} thrown in /home/sarvpayi/market.anypardaz.ir/payment_at_home.php on line 20