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 W.wal_gubun = 'A'' at line 1 in /home/qding/html/application/models/Model.class.php:261
Stack trace:
#0 /home/qding/html/application/models/Model.class.php(261): PDO->prepare()
#1 /home/qding/html/application/models/WalletModel.class.php(123): application\models\Model->GetWant()
#2 /home/qding/html/application/controllers/front/MainController.class.php(48): application\models\WalletModel->MyBalance()
#3 /home/qding/html/application/controllers/front/Controller.class.php(20): application\controllers\front\MainController->Wallet()
#4 /home/qding/html/application/libs/Application.class.php(34): application\controllers\front\Controller->__construct()
#5 /home/qding/html/index.php(19): application\libs\Application->__construct()
#6 {main}
thrown in /home/qding/html/application/models/Model.class.php on line 261