Home  >  Article  >  Backend Development  >  一个php页面多个分页共处

一个php页面多个分页共处

WBOY
WBOYOriginal
2016-06-13 12:41:181149browse

一个php页面多个分页共存
写了个php分页的自定义函数,用着感觉挺好:

pageFunc($dataNum,$pageSize,$pageName)//记录集,每页显示的条数,分页名

今天突然在想,如果我一个页面有和几个区域要做分页呢,那怎么办?
首先我想到的是将自定义分页函数添加一个参数,来标识分页的名称以达到区分的目的,结果失败啦!
请大家提供可行的解决思路给我!谢谢!

PHP 分页
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn