摘要:
<?php//分页$link=mysql_connect("localhost","root","root");$db=mysql_select_db("bustest",$link);$res=mysql_query("select * from info");//一共多少条$count=mysql_num_rows($res);//每页5条信息$perpage=5;//一共多少页$pagecount=ceil($count/$perpage);//传过来的页数$pagenum=$_RE 阅读全文