Laravel 5.3 I have search results, need to do results per page. URL is dynamic. Depends on search request So we can not use something like this:
<a href="/products/500">500</a>
<a href="/products/100">100</a>
// i need like this
<a href="http://lara53/products/search/500?searcher=6">500 results per page</a>
<a href="http://lara53/products/search/100?searcher=6">100 results per page</a>
//change part of url ( 5 ) to what i need ( 100 )
So, get current URL, and change just part of it without any new controller.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community