SQL出错: select id from sl_news where type=#0 /data/home/hyu6646890001/htdocs/silephp/databases/CPdo.class.php(134): CPdo->base_query('select id from ...') #1 /data/home/hyu6646890001/htdocs/silephp/databases/CPdo.class.php(121): CPdo->setAttribute('select id from ...', 2, NULL) #2 /data/home/hyu6646890001/htdocs/silephp/core/Model.class.php(888): CPdo->getValueBySelfCreateSql('select id from ...') #3 /data/home/hyu6646890001/htdocs/application/front/controllers/newsController.class.php(26): Model->total('type=') #4 /data/home/hyu6646890001/htdocs/silephp/core/Framework.class.php(163): newsController->indexAction() #5 /data/home/hyu6646890001/htdocs/silephp/core/Framework.class.php(14): Framework::dispatch() #6 /data/home/hyu6646890001/htdocs/public/index.php(17): Framework::run() #7 {main}