如何使信息显示为最新信息?
您大侠们帮忙,我的新闻系统总显示最早的信息,请问如何调整为显示最新信息?谢谢.
源代码如下:
<TABLE width=100% border=0 cellPadding=0 cellSpacing=1>
<TBODY>
<TR>
<TD width="100%" height="36" >
<% ren.movelast
for i=1 to z
news2(i)=ren("id")
news1(i)=ren("subject")
news3(i)=ren("lei")
Session("date")=ren("date")
Session("fbdate")=ren("fbdate")
%>
<a href="news/newshow/disp1.asp?recno=<%=news2(i)%>&a=1" target="_blank">·<%=replace(server.htmlencode(left(news1(i),24)),"*u1a","")%>…</a>[<%=Session("date")%>]<br>
<%
ren.move (-1)
next %>
</TD>
</TR>
</TBODY>
</TABLE>