SamaoPHP 提示您,您的代碼出錯啦!
(!)SamaoPHP錯誤提示:
所在頁面(行): /data/www/new.cfoclass.com/Apps/Home/controls/play.ctl.php  (17)
錯誤提示信息:
執行語句錯誤
Array
(
    [0] => 42000
    [1] => 1064
    [2] => 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 '' at line 1
)

最終執行的SQL: 
select * from sl_chapter where id=
執行函數:
DB::getone()
函數參數:
Array
(
    [0] => select * from @pf_chapter where id=
)
GET 信息:
Array
(
    [id] => 3772
)
錯誤代碼附近:
 15.              if ($detail['vtype'] == 0) {
 16.                  $chapterid=$detail['chapterid'];
 17.                  $onedic=DB::getone("select * from @pf_chapter where id=$chapterid");
 18.                  $subject_id=$onedic['subject_id'];
 19.                  if ($subject_id) {
觸發頁面(行):/data/www/new.cfoclass.com/samao/libs/sys/db.class.php (352)
所拋出信息頁面(行): (0)

Call Stack Function Location Line
0 DB::getone() /data/www/new.cfoclass.com/Apps/Home/controls/play.ctl.php 17
1 playController->__construct() /data/www/new.cfoclass.com/samao/samaophp.php 96
2 App::Run() /data/www/new.cfoclass.com/index.php 85

复式双色球8加1