:(

SQLSTATE[42000]: Syntax error or access violation: 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

错误位置

FILE: D:\wwwroot\zTmp\Library\Think\Db\Driver.class.php  LINE: 169

TRACE

#0 D:\wwwroot\zTmp\Library\Think\Db\Driver.class.php(169): PDOStatement->execute()
#1 D:\wwwroot\zTmp\Library\Think\Db\Driver.class.php(930): Think\Db\Driver->query('SELECT `id`,`ti...', false)
#2 D:\wwwroot\zTmp\Library\Think\Model.class.php(579): Think\Db\Driver->select(Array)
#3 D:\wwwroot\zhuojingdiaosu.com\Wap\Controller\DiaosuController.class.php(246): Think\Model->select()
#4 [internal function]: Wap\Controller\DiaosuController->show('669')
#5 D:\wwwroot\zTmp\Library\Think\App.class.php(162): ReflectionMethod->invokeArgs(Object(Wap\Controller\DiaosuController), Array)
#6 D:\wwwroot\zTmp\Library\Think\App.class.php(202): Think\App::exec()
#7 D:\wwwroot\zTmp\Library\Think\Think.class.php(120): Think\App::run()
#8 D:\wwwroot\zTmp\ThinkPHP.php(98): Think\Think::start()
#9 D:\wwwroot\zhuojingdiaosu.com\index.php(9): require('D:\\wwwroot\\zTmp...')
#10 {main}