系统错误:sql语句执行失败select * from books where (book_id=) 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 ')' at line 1错误编码1064 2cms
sql语句执行失败select * from books where (book_id=) 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 ')' at line 1错误编码1064
应用:wap 控制器:books 方法:bookinfo 参数:array(1) {
[0]=>
string(0) ""
}
文件:/www/wwwroot/www/lib/database/mysqli.php
所在行:116
错误追踪:
文件:/www/wwwroot/www/lib/database/mysqli.php 行:143 lib\database\mysqli\query()
文件:/www/wwwroot/www/lib/orm/orm.php 行:388 lib\database\mysqli\getRow()
文件:/www/wwwroot/www/lib/orm/orm.php 行:408 lib\orm\orm\get_data_from_cache()
文件:/www/wwwroot/www/app/common/model/books.php 行:101 lib\orm\orm\find()
文件:/www/wwwroot/www/app/wap/controller/books.php 行:29 app\common\model\books\getbooks()
文件: 行: app\wap\controller\books\bookinfo()
文件:/www/wwwroot/www/lib/lib.php 行:146 \call_user_func_array()
文件:/www/wwwroot/www/lib/lib.php 行:88 lib\lib\mvc()
文件:/www/wwwroot/www/public/index.php 行:12 lib\lib\run()