Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

larave per page int returns string

// Pass int value to ->paginate()

$per_page = intval(request()->get('per_page'));
return Data::all()->paginate($per_page);
 
PREVIOUS NEXT
Tagged: #larave #page #int #returns #string
ADD COMMENT
Topic
Name
5+4 =