Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel multiple paginate

# use default 'page' for this
$collection1 = Model::paginate(20);

# use custom 'other_page' for this
$collection2 = Model2::paginate(20);
$collection2->setPageName('other_page');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #multiple #paginate
ADD COMMENT
Topic
Name
7+6 =