这就是我的控制器中的内容
$projects=Project::where_sup_id($user_id)->get();
$total=count($projects);
$per_page=3;
$projects = Paginator::make($projects, $total, $per_page);
return View::make('project.index')->with('projects',$projects);
这在我看来
@foreach ($projects->results as $project)
{{$project->title}}
@endforeach
{{$projects->links();}}
但是当我在浏览器中查看它时,它会显示所有页面中的所有行......链接显示完美!你认为是什么问题?请帮忙!提前谢谢你!