中国·澳门新葡萄新京威尼斯(987-VIP认证)网站-BinG百科

:(

1064: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 'and `id` != 15 ) ORDER BY `order` desc,`id` desc' at line 1 [ SQL语句 ] : SELECT * FROM `qf_goods` WHERE ( `pid` = and `id` != 15 ) ORDER BY `order` desc,`id` desc

错误位置

FILE: /home/nanomate/domains/nano-mater.cn/public_html/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 339

TRACE

#0 /home/nanomate/domains/nano-mater.cn/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(339): E('1064:You have a...')
#1 /home/nanomate/domains/nano-mater.cn/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(173): Think\Db\Driver->error()
#2 /home/nanomate/domains/nano-mater.cn/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(928): Think\Db\Driver->query('SELECT * FROM `...', false)
#3 /home/nanomate/domains/nano-mater.cn/public_html/ThinkPHP/Library/Think/Model.class.php(582): Think\Db\Driver->select(Array)
#4 /home/nanomate/domains/nano-mater.cn/public_html/App/Home/Controller/ProductController.class.php(53): Think\Model->select()
#5 [internal function]: Home\Controller\ProductController->product_info()
#6 /home/nanomate/domains/nano-mater.cn/public_html/ThinkPHP/Library/Think/App.class.php(174): ReflectionMethod->invoke(Object(Home\Controller\ProductController))
#7 /home/nanomate/domains/nano-mater.cn/public_html/ThinkPHP/Library/Think/App.class.php(212): Think\App::exec()
#8 /home/nanomate/domains/nano-mater.cn/public_html/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#9 /home/nanomate/domains/nano-mater.cn/public_html/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#10 /home/nanomate/domains/nano-mater.cn/public_html/index.php(21): require('/home/nanomate/...')
#11 {main}