:(

1054:Unknown column 'home' in 'where clause' [ SQL语句 ] : SELECT `name` FROM `qw_productlist` WHERE ( id=home ) LIMIT 1

错误位置

FILE: C:\web\jinweiyi\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 394

TRACE

#0 C:\web\jinweiyi\ThinkPHP\Library\Think\Db\Driver.class.php(394): E('1054:Unknown co...')
#1 C:\web\jinweiyi\ThinkPHP\Library\Think\Db\Driver.class.php(198): Think\Db\Driver->error()
#2 C:\web\jinweiyi\ThinkPHP\Library\Think\Db\Driver.class.php(1067): Think\Db\Driver->query('SELECT `name` F...', false, false)
#3 C:\web\jinweiyi\ThinkPHP\Library\Think\Model.class.php(816): Think\Db\Driver->select(Array)
#4 C:\web\jinweiyi\App\Home\Controller\ProductController.class.php(152): Think\Model->find()
#5 [internal function]: Home\Controller\ProductController->index()
#6 C:\web\jinweiyi\ThinkPHP\Library\Think\App.class.php(178): ReflectionMethod->invoke(Object(Home\Controller\ProductController))
#7 C:\web\jinweiyi\ThinkPHP\Library\Think\App.class.php(113): Think\App::invokeAction(Object(Home\Controller\ProductController), 'index')
#8 C:\web\jinweiyi\ThinkPHP\Library\Think\App.class.php(213): Think\App::exec()
#9 C:\web\jinweiyi\ThinkPHP\Library\Think\Think.class.php(136): Think\App::run()
#10 C:\web\jinweiyi\ThinkPHP\ThinkPHP.php(102): Think\Think::start()
#11 C:\web\jinweiyi\index.php(25): require('C:\\web\\jinweiyi...')
#12 {main}

404(ڷϲ鿴Ϣ)

վ һ>>