title: Laravel - Paginating Eloquent Retrieved results
body: <p>This what i have in my controller</p>
  
  <pre><code>$projects=Project::where_sup_id($user_id)-&gt;get();
     $total=count($projects);
     $per_page=3;
    $projects = Paginator::make($projects, $total, $per_page);
    return View::make('project.index')-&gt;with('projects',$projects);
  </code></pre>
  
  <p>And this in my View</p>
  
  <pre><code> @foreach ($projects-&gt;results as $project) 
  
        {{$project-&gt;title}}
  
   @endforeach
  
  
  {{$projects-&gt;links();}}
  </code></pre>
  
  <p>but when i view it in the browser it is displaying all rows in all pages...the links are displaying perfectly! what do u think is the problem? please help! thank u in advance!</p>