Home >Backend Development >PHP Tutorial >How does yii2 paging return data according to the paging parameter page setting? If it is empty, nothing will be returned.
yii2 combines ActiveDataProvider paging to return data according to the paging parameter page setting. If it is empty, nothing will be returned. For example, page=5 has no data on this page because it only has 3 pages of data at most. Does anyone know how to do this? ? Thank you