当前位置:Gxlcms > PHP教程 > 示例_PHP教程

示例_PHP教程

时间:2021-07-01 10:21:17 帮助过:18人阅读

//if(!$pageID)$pageID=1;
include('Pager.php');
$params['itemData'] = range(1, 180);
$pager =& new Pager($params);
$data = $pager->getPageData();
$links = $pager->getLinks("<<上页","下页>>");
list($from, $to) = $pager->getOffsetByPageId();
?>















显示 [ - ] 条记录,共_totalItems?>条记录







www.bkjia.comtruehttp://www.bkjia.com/PHPjc/629395.htmlTechArticle?php //if(!$pageID)$pageID=1; include('Pager.php'); $params['itemData'] = range(1, 180); $pager = $data= $pager-getPageData(); $links = $pager-getLinks(上页,下页); list($from, $...

人气教程排行