Home > Back-end >  I want to display one by one value in foreah loop according to demo Image
I want to display one by one value in foreah loop according to demo Image

Time:11-22

enter image description here

In a model with 180 records, I want to display one at a time. when I click on the next button the next record is shown with a refreshed page.

CodePudding user response:

I suggest implementing pagination into your application and making your page size = 1 to achieve your goal.
This tutorial explained with example how to implement paging functionality, you can refer to it.
enter image description here

  • Related