主题:求助
[color=000080]
[color=FF00FF]<%
m=0
set rs=conn.execute("SELECT top 25 * FROM sh55 order by hits desc")
if not Rs.eof then
do while not rs.eof
m=m+1
%>
<TR>
<TD width="2%">
</TD>
<TD width="98%"><%=m%>.<a target="_blank" href="ghj.asp?乐队艺人=<%=rs("ID")%>" " title="乐队艺人:<%=rs("MingCheng")%>"><B><%=left(rs("MingCheng"),10)%>
<% if len(rs("MingCheng"))>10 then Response.Write ".." %>
</a> </TD>
</TR>
<%
rs.movenext
loop
else
response.write "还没乐队加入排行"
end if
rs.close
%>[/color]
<%
m=0
set rs=conn.execute("SELECT top 25 * FROM musiclist order by hits desc")
if not Rs.eof then
do while not rs.eof
m=m+1
%>
<TR>
<TD width="2%">
<LI class=li></LI></TD>
<TD width="98%"><a href=javascript:window_open('<%if rs("musictype")="1" then%>DJPlay_RM.asp<%elseif rs("musicType")="2" then%>DJPlay_ME.asp<%else%>DJPlay_MTV.asp<%end if%>?songid=<%=rs(0)%>','Listen','width=600,height=300') title='<%=left(rs("musicname"),50)%>'><%=left(rs("musicname"),9)%><% if len(rs("musicname"))>10 then Response.Write "" %></a></TD>
</TR>
<%
rs.movenext
loop
else
response.write "还没舞曲"
end if
rs.close
%>[/color]
蓝色的这个 点一下增加一点点击量 粉色的为何不增加 数据库里的表都有HITS 而且数值都是一样的
[color=FF00FF]<%
m=0
set rs=conn.execute("SELECT top 25 * FROM sh55 order by hits desc")
if not Rs.eof then
do while not rs.eof
m=m+1
%>
<TR>
<TD width="2%">
</TD>
<TD width="98%"><%=m%>.<a target="_blank" href="ghj.asp?乐队艺人=<%=rs("ID")%>" " title="乐队艺人:<%=rs("MingCheng")%>"><B><%=left(rs("MingCheng"),10)%>
<% if len(rs("MingCheng"))>10 then Response.Write ".." %>
</a> </TD>
</TR>
<%
rs.movenext
loop
else
response.write "还没乐队加入排行"
end if
rs.close
%>[/color]
<%
m=0
set rs=conn.execute("SELECT top 25 * FROM musiclist order by hits desc")
if not Rs.eof then
do while not rs.eof
m=m+1
%>
<TR>
<TD width="2%">
<LI class=li></LI></TD>
<TD width="98%"><a href=javascript:window_open('<%if rs("musictype")="1" then%>DJPlay_RM.asp<%elseif rs("musicType")="2" then%>DJPlay_ME.asp<%else%>DJPlay_MTV.asp<%end if%>?songid=<%=rs(0)%>','Listen','width=600,height=300') title='<%=left(rs("musicname"),50)%>'><%=left(rs("musicname"),9)%><% if len(rs("musicname"))>10 then Response.Write "" %></a></TD>
</TR>
<%
rs.movenext
loop
else
response.write "还没舞曲"
end if
rs.close
%>[/color]
蓝色的这个 点一下增加一点点击量 粉色的为何不增加 数据库里的表都有HITS 而且数值都是一样的