Home  >  Article  >  php教程  >  php 分页、全选、反选、全不选、批量删除

php 分页、全选、反选、全不选、批量删除

WBOY
WBOYOriginal
2016-06-13 10:47:56815browse

/**
 * 用户管理
 * 2011/8/22
 * kcj
 * 
 * */ 
include "isLogin.php"; 
include "../conn/conn.php"; 
$sql="select * from user"; 
$rst=mysql_query($sql); 
$totalnum=mysql_num_rows($rst); 
$pagesize=5; 
$page=$_GET['page']; 
if($page==''){ 
    $page=1; 

$begin=($page-1)*$pagesize; 
$pagecount=ceil($totalnum/$pagesize); 
?> 
 
 
 
   

 
         
       
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