Hello teacher: Pagination problem
代码的人生
代码的人生 2018-01-18 08:45:18
0
2
948

Clicking the next page on the last page will report an error, and its p will become -1

代码的人生
代码的人生

reply all(2)
HCJ

$p = ($p<1)?1:$p;This applies to the previous page. Specifically, there will be a problem on the next page you mentioned. It should be related to your code. Can you send the code? ?


Peter_Zhu

$p = ($p<1)?1:$p;

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!