摘要:
count(); //引入page类 include './Page.php'; $page = new Page($count,5); $limit = $page->getLimit(); $show = $page->show(); $res = $mod->limit($limit)->select(); //echo '... 阅读全文
摘要:
total = $total; $this->num = $num; //默认为第一页 $this->p = isset($_GET['p']) ? $_GET['p'] : 1; } /** * 获取limit 1 0,5 2 5,5 3 10,5 4 15,... 阅读全文