:(

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 ') ORDER BY sort' at line 1 [ SQL语句 ] : SELECT * FROM `ty_cate` WHERE ( fid= ) ORDER BY sort

错误位置

FILE: D:\hzyz\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 350

TRACE

#0 D:\hzyz\ThinkPHP\Library\Think\Db\Driver.class.php(350): E('1064:You have a...')
#1 D:\hzyz\ThinkPHP\Library\Think\Db\Driver.class.php(180): Think\Db\Driver->error()
#2 D:\hzyz\ThinkPHP\Library\Think\Db\Driver.class.php(946): Think\Db\Driver->query('SELECT * FROM `...', false)
#3 D:\hzyz\ThinkPHP\Library\Think\Model.class.php(579): Think\Db\Driver->select(Array)
#4 D:\hzyz\Application\Common\Model\CateModel.class.php(69): Think\Model->select()
#5 D:\hzyz\Application\Home\Controller\IndexController.class.php(29): Common\Model\CateModel->lists2(NULL)
#6 D:\hzyz\ThinkPHP\Library\Think\Controller.class.php(41): Home\Controller\IndexController->_initialize()
#7 D:\hzyz\ThinkPHP\Common\functions.php(681): Think\Controller->__construct()
#8 D:\hzyz\ThinkPHP\Library\Think\App.class.php(89): controller('Index', '')
#9 D:\hzyz\ThinkPHP\Library\Think\App.class.php(204): Think\App::exec()
#10 D:\hzyz\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#11 D:\hzyz\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#12 D:\hzyz\index.php(32): require('D:\\hzyz\\ThinkPH...')
#13 {main}

<友情连结> 乐天堂娱乐官网 登录/ 龙8手机登录网址/ 千赢娱乐官网 登录/ 网易博客/ 刀郎酒业/