Home >php教程 >php手册 >分页类终结者

分页类终结者

WBOY
WBOYOriginal
2016-06-13 10:24:061104browse

PHP代码:-------------------------------------------------------------------------------- /* ------------------------------------------------------------------------------------ 类名:Lwgpagenum 说明:PHP+MySQL分页类 作者:龙卫国 网络user:lwg888 邮箱:lwg888@163.com 使用、修改、传播请保留作者信息 ------------------------------------------------------------------------------------ */ require_once(dirname(__FILE__)."/Lwgdb.inc.php"); //Lwgdb.inc.php是数据库连接与sql语句执行类 class Lwgpageturn { //----------可以设置值的变量---------------------------------------- var $maxnum;//每页显示数 var $maxnum_max_size=100; //每页最多显示数,用来规定$maxnum不能超过$maxnum_max_size var $sql;//sql语句 var $navchar=array([|

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