i'm need to use paginate but i used get() before for some reasons so how i can use paginate()
after get() ?
when i try
$s = Lists::where('id','>',500)->get();
$s = $s->paginate(2);
var_dump($s);
i get
Call to undefined method Illuminate\Database\Eloquent\Collection::paginate();
i do every thing go skip get() before but it's big problem any one have any idea
sample
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1YPCdhI
via IFTTT
Aucun commentaire:
Enregistrer un commentaire