:(

Uncaught Think\Exception: 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 ')' at line 1 [ SQL语句 ] : SELECT `name`,`id` FROM `lk_spec` WHERE ( cid= ) in /www/wwwroot/www.lankoy.cn/ThinkPHP/Common/functions.php:102 Stack trace: #0 /www/wwwroot/www.lankoy.cn/ThinkPHP/Library/Think/Db/Driver.class.php(350): E('1064:You have a...') #1 /www/wwwroot/www.lankoy.cn/ThinkPHP/Library/Think/Db/Driver.class.php(180): Think\Db\Driver->error() #2 /www/wwwroot/www.lankoy.cn/ThinkPHP/Library/Think/Db/Driver.class.php(946): Think\Db\Driver->query('SELECT `name`,`...', false) #3 /www/wwwroot/www.lankoy.cn/ThinkPHP/Library/Think/Model.class.php(585): Think\Db\Driver->select(Array) #4 /www/wwwroot/www.lankoy.cn/Application/Home/Action/GoodsAction.class.php(127): Think\Model->select() #5 [internal function]: Home\Action\GoodsAction->detail() #6 /www/wwwroot/www.lankoy.cn/ThinkPHP/Library/Think/App.class.php(173): ReflectionMethod->invo

错误位置

FILE: /www/wwwroot/www.lankoy.cn/ThinkPHP/Common/functions.php  LINE: 102