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

一个php页面多个分页共处

WBOY
Release: 2016-06-13 12:41:18
Original
1215 people have browsed it

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

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template