public function personal_center_list(){
$user_id = $_SESSION['user_id'];
$table = M('course_submission');
$where['a.uid'] = $user_id;
$res = $table->alias('a')->('left join course_theme as t on a.theme=t.id left join course_type as type on a.type = type.id')->field('a.*,type.type as t_type,t.theme as t_theme')->where($where)->limit(5)->order('id desc')->select();
$this->assign('res',$res);
$this->display();
}:(
syntax error, unexpected '(', expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$'
错误位置
FILE: D:\phpStudy\WWW\baoming\Application\Home\Controller\IndexController.class.php LINE: 142
ThinkPHP3.2.3 { Fast & Simple OOP PHP Framework } -- [ WE CAN DO IT JUST THINK ] 最佳答案