| 中国IT动力,最新最全的IT技术教程 |
|
| 首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 硬件维护 | 未整理篇 | 站长教程 |
| 当前位置:> 程序开发 > 编程语言 > 综合其它 |
| php与mysql完成的分页类(自家用) |
| 作者:未知 时间:2005-07-27 23:27 出处:CSDN 责编:chinaitpower |
| 摘要:php与mysql完成的分页类(自家用) |
$start=($page-1)*$this->page_num; $end=$this->page_num; $sql1=$sql." limit $start,$end"; $this->db_query($sql1); $this->get_page_head($sql);//page head $this->db_while();//page body echo $foot;//page end } function db_while() { $result=$this->result; echo " | |||||||||||||||
| ID号 | 标题 | 错误原因 | |||||||||||||
| ".$row["data_id"]." | ".$row ["title"]." | ".$error." | |||||||||||||
| $head |
| $head |
| 首页 | 投资与合作 | 服务条款 | 隐私政策 | 收藏本站 | 设为首页 | 新用户注册 | 免责声明 | 使用帮助 |
| Copyright ©2005-2008 chinaitpower.com All rights reserved. www.chinaitpower.com 版权所有 |