Anyone give me a clear idea about pagination on array php

前端 未结 0 627
耶瑟儿~
耶瑟儿~ 2021-01-27 01:01
$limit = 2;
$total_pages = ceil($total/ $limit);
$page = max($page, 1);
$page = max($page, $total_pages);
echo "PAGE RES ".$page;
$offset = min($page, - 1) * $         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题