|
<% nrs.open ("select top 10 * from book where booktui=2 and bookshu=1 order by booktime desc"),conn,1,1
if not nrs.eof then
for ix=1 to int(nrs.recordcount) -----什么意思?
bxinxis=split(nrs("bookxinxi"),"[|@|]") ---什么意思
for bi=0 to ubound(bxinxis)
next
%>
<span style="width:49%; padding:5px 0px 0px 5px">
● <a href='boodispx.asp?bid=<%= nrs("bookid") %>&Curpage=1' target="_blank" title='<%= replace(left(nrs("booknei"),250),"<BR>"," ") %>'><font color="#006699"><%= left(nrs("bookjian"),15) %> </font></a></span>
<% if ix=10 then exit for
nrs.movenext
next
end if
nrs.close
set nrs=nothing
%>
这段代码的显示结果是显示10条信息 分两列每列5条。。。 可我怎么没看懂在那里分得列啊 |
|