Home  >  Article  >  Backend Development  >  thinkphp分页有关问题,怎样获取当前页是第几页

thinkphp分页有关问题,怎样获取当前页是第几页

WBOY
WBOYOriginal
2016-06-13 11:53:041000browse

thinkphp分页问题,怎样获取当前页是第几页?
thinkphp分页问题,怎样获取当前页是第几页?比如共5页,每页10行。当前页是第3行。怎样获取当前页?
------解决方案--------------------
分页类setConfig里面有个属性:nowPage。

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