还是不懂代码能详细点吗
这是我的代码
<%
exec="select top 6 * from web_news order by id desc "
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,1,1
%>
<%
if rs.eof and rs.bof then
response.write("暂时没有数据")
else
do while not rs.eof
%>
<table width="100%" border="3" cellpadding="4" cellspacing="4">
<tr>
<th width="65%" scope="row">下载排行榜</th>
<td width="35%">浏览次数</td>
<%s=0
exec="select top 6 * from web_news order by id desc "
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,1,1
%>
<%
if rs.eof and rs.bof then
response.write("暂时没有数据")
else
do while s>4 AND not rs.eof
s=s+1
%>
<table width="100%" border="3" cellpadding="4" cellspacing="4">
<tr>
<th width="65%" scope="row">下载排行榜</th>
<td width="35%">浏览次数</td>