testController.php
$jogos = DB::select("select * from jogo where id_u ='$id_u'");
This is the code I want to page in View
using blade
jogo.blade.php
{!! $jogos->links() !!}
$jogos = DB::select("select * from jogo where id_u ='$id_u' ")->paginate(2);
I've tried, but it does not work.