I want to get Data by page number, in normal when we use this code
$jobs = Jobs::paginate(10);
laravel get data by GET "page" parameter that defined in URL,
if our URL be http://www.example.com/job?page=2
laravel return data of page 2
I want to do this without using the page parameter in URL
I want you to introduce me something like this
$jobs = Jobs::paginate(10,[
'page'=>2
]);