系统发生错误

您可以选择 [ 重试 ] [ 返回 ] 或者 [ 回到首页 ]

错误位置: FILE: /mnt/wwwroot/new/ephp/dbdrivers/db_mysqli.class.php LINE: 45 ErrorCode: 2045

[ 错误信息 ]

执行mysqli::query()出现错误: 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 'ORDER BY id desc' at line 1
原SQL: SELECT * FROM t_brand_product WHERE brand= ORDER BY id desc

[ TRACE ]

#0 /mnt/wwwroot/new/ephp/dbdrivers/db_mysqli.class.php(68): db_mysqli->query('SELECT * FROM t...')
#1 /mnt/wwwroot/new/ephp/libraries/model.class.php(336): db_mysqli->fetch_arrays('SELECT * FROM t...')
#2 /mnt/wwwroot/new/_web/models/installModel.php(444): model->findAll()
#3 /mnt/wwwroot/new/_web/controllers/itemController.php(347): installModel->getSqlAll('*', 't_brand_product', 'brand=', 'id desc')
#4 [internal function]: itemController->readAction()
#5 /mnt/wwwroot/new/ephp/ePHP.php(423): call_user_func(Array)
#6 /mnt/wwwroot/new/index.php(35): app->run()
#7 {main}

ePHP { Fast & Simple PHP Framework } -- [ WE CAN DO IT JUST LIKE IT ]