:(

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 's training programme%') order by create_time DESC limit 5' at line 1 [ SQL语句 ] : select title,id,detail from jp_faq where (is_show=1 and title like '%director's training programme%') order by create_time DESC limit 5

错误位置

FILE: D:\wwwroot\kaizencpa\wwwroot\jp\Library\Library\Think\Db\Driver.class.php  LINE: 350

TRACE

#0 D:\wwwroot\kaizencpa\wwwroot\jp\Library\Library\Think\Db\Driver.class.php(350): E('1064:You have a...')
#1 D:\wwwroot\kaizencpa\wwwroot\jp\Library\Library\Think\Db\Driver.class.php(180): Think\Db\Driver->error()
#2 D:\wwwroot\kaizencpa\wwwroot\jp\Library\Library\Think\Model.class.php(1382): Think\Db\Driver->query('select title,id...')
#3 D:\wwwroot\kaizencpa\wwwroot\jp\Application\Home\Common\function.php(164): Think\Model->query('select title,id...')
#4 D:\wwwroot\kaizencpa\wwwroot\jp\Application\Home\Controller\FaqController.class.php(64): keywordSearch('faq', '42', 'director's trai...')
#5 [internal function]: Home\Controller\FaqController->info()
#6 D:\wwwroot\kaizencpa\wwwroot\jp\Library\Library\Think\App.class.php(173): ReflectionMethod->invoke(Object(Home\Controller\FaqController))
#7 D:\wwwroot\kaizencpa\wwwroot\jp\Library\Library\Think\App.class.php(110): Think\App::invokeAction(Object(Home\Controller\FaqController), 'info')
#8 D:\wwwroot\kaizencpa\wwwroot\jp\Library\Library\Think\App.class.php(204): Think\App::exec()
#9 D:\wwwroot\kaizencpa\wwwroot\jp\Library\Library\Think\Think.class.php(120): Think\App::run()
#10 D:\wwwroot\kaizencpa\wwwroot\jp\Library\ThinkPHP.php(97): Think\Think::start()
#11 D:\wwwroot\kaizencpa\wwwroot\jp\index.php(28): require('D:\\wwwroot\\kaiz...')
#12 {main}