How did i get my users but start only at a certain position ? I get the 50 first with :
$users = User::orderBy(\'xp\', \'DESC\')->take(50)->get(); <
$users = User::orderBy(\'xp\', \'DESC\')->take(50)->get();
You can use skip()
skip()
Laravel eloqunt provides nice way to achieve this.
$users = User::orderBy('xp', 'DESC')->skip(50)->take(50)->get();
Hope this helps.