:(

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 type_more= and id> ) LIMIT 1' at line 1

错误位置

FILE: /usr/home/syu7405780001/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 169

TRACE

#0 /usr/home/syu7405780001/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php(169): PDOStatement->execute()
#1 /usr/home/syu7405780001/htdocs/ThinkPHP/Library/Think/Db/Driver.class.php(935): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 /usr/home/syu7405780001/htdocs/ThinkPHP/Library/Think/Model.class.php(759): Think\Db\Driver->select(Array)
#3 /usr/home/syu7405780001/htdocs/Application/Home/Controller/CommitteeController.class.php(78): Think\Model->find()
#4 [internal function]: Home\Controller\CommitteeController->detail2()
#5 /usr/home/syu7405780001/htdocs/ThinkPHP/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\CommitteeController))
#6 /usr/home/syu7405780001/htdocs/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#7 /usr/home/syu7405780001/htdocs/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#8 /usr/home/syu7405780001/htdocs/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#9 /usr/home/syu7405780001/htdocs/index.php(24): require('/usr/home/syu74...')
#10 {main}