SamaoPHP 提示您,您的代碼出錯啦!
(!)SamaoPHP錯誤提示:
所在頁面(行): /data/www/new.cfoclass.com/Apps/Home/controls/center.ctl.php  (9)
錯誤提示信息:
執行語句錯誤
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 'order by id desc' at line 1
)

最終執行的SQL: 
select distinct ids from sl_order where types='shixun' and state=1 and userid= order by id desc
執行函數:
DB::getlist()
函數參數:
Array
(
    [0] => select distinct ids from @pf_order where types='shixun' and state=1 and userid= order by id desc
)
錯誤代碼附近:
 7.          }
 8.          $user_id = $_SESSION['userid'];
 9.          $orderlist=DB::getlist("select distinct ids from @pf_order where types='shixun' and state=1 and userid=$user_id order by id desc");
 10.          $this->assign('shixun', $orderlist);
 11.
觸發頁面(行):/data/www/new.cfoclass.com/samao/libs/sys/db.class.php (287)
所拋出信息頁面(行): (0)

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

白小姐中特网玄机免费资料大全1