这个分页如何写啊?? http://www.gzlight.com/gallery/show.php这种效果的分页如何写啊? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 可以参考一下下面的代码<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%><!--#include file="../Connections/connwebinfo.asp" --><% dim sqlsql="select * from topinfo where topinfo_show='显示'"set conn = Server.CreateObject("ADODB.Connection")conn.Open MM_connwebinfo_STRINGset rs = Server.CreateObject("ADODB.Recordset")'rs = conn.Execute(sql)rs.open sql,conn,1,1%><center><table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="771" id="AutoNumber1" height="89"> <% do while not rs.eof %> <tr><%for i=1 to 5%> <td width="154" height="89"> <p align="center"><a href="<%=trim(rs("topinfo_weburl"))%>" target="_blank"> <img border="0" src="<%=(rs("topinfo_picpath"))%>" width="148" height="83" alt="<%=(trim(rs("topinfo_description")))%>"></a></td> <% rs.movenext %> </td> <%if rs.eof then %> <%exit for end if %> <%next%> </tr> <% loop %></table></center> http://www.gzlight.com/gallery/show.php php fastcgi问题,死锁,超时 有做PHP网站电子商务平台接口的吗? php如何生成word文档 PHP复选框数据库 怎么样写进数据库 我是新人 求助:PHPUNIT访问数据库就会出错。 兄弟们,你们第一个做的作品是什么呢? 看来我的回复得罪了不少人,发个小游戏随便散点分 急等,这是怎么回事。 关于重定向?~~ 运行一个html时同时加载几个php文件 感谢 极度迷惑
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="../Connections/connwebinfo.asp" -->
<%
dim sql
sql="select * from topinfo where topinfo_show='显示'"
set conn = Server.CreateObject("ADODB.Connection")
conn.Open MM_connwebinfo_STRING
set rs = Server.CreateObject("ADODB.Recordset")
'rs = conn.Execute(sql)
rs.open sql,conn,1,1
%>
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="771" id="AutoNumber1" height="89">
<% do while not rs.eof %>
<tr><%for i=1 to 5%>
<td width="154" height="89">
<p align="center"><a href="<%=trim(rs("topinfo_weburl"))%>" target="_blank">
<img border="0" src="<%=(rs("topinfo_picpath"))%>" width="148" height="83" alt="<%=(trim(rs("topinfo_description")))%>"></a></td> <% rs.movenext %>
</td>
<%if rs.eof then %>
<%exit for
end if %>
<%next%> </tr>
<% loop %>
</table></center>