Home > Backend Development > PHP Tutorial > thinkphp implementation method of using 2 paging on a page_PHP tutorial

thinkphp implementation method of using 2 paging on a page_PHP tutorial

WBOY
Release: 2016-07-21 15:00:56
Original
743 people have browsed it

It can be said to be a non-technical method:
Copy and rename Page.class.php, such as nPage.class.php.
And in nPage.calss.php Lieutenant General
$this->varPage=C('VAR_PAGE')?C('VAR_PAGE'):'p'
is changed to
$this->varPage=C('VAR_PAGE')?C('VAR_PAGE'):'np'
Of course, remember to change the class name to nPage.class.php, and then just add it in php If you directly reference this class paging, it will not conflict with the original...

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/328043.htmlTechArticleIt can be said to be a non-technical method: Copy and rename Page.class.php, such as nPage. class.php. And change $this-varPage=C('VAR_PAGE')?C('VAR_PAGE'):'p' in nPage.calss.php to...
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