Home  >  Article  >  Backend Development  >  php-PHP固定页数翻页问题以及跳转

php-PHP固定页数翻页问题以及跳转

WBOY
WBOYOriginal
2016-06-02 11:29:13926browse

php

0) { // Show if not first page ?>
">第一页

0) { // Show if not first page ?>
">前一页

$i=1;
while($i {
?>



">


$i++;
}
?>


">下一个


">最后一页

这一段代码怎么修改,可以让他只显示固定的页数,以及能够进行固定页的跳转

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