不是啊~~符号都对了
我前面用过的,没有问题,为了防止错误我把前面用过的复制过来之后,再修改!!
这些是在一个do while 循环里的东东~~~~
不加这些,循环正常的~~~
我把循环都贴出来!!!!!!还请各位帮帮小弟的忙~~谢了
--------------------------------------------------------------------------------------
<%
set hf=server.CreateObject("adodb.recordset")
sql3="select * from Resumes where Resumes_posted='"&tz("id")&"'"
hf.open sql3,db,1,1
if hf.eof and hf.bof then
response.write"目前没有记录"
else
counts=5
hf.pagesize = counts
allpages = hf.pagecount
page = request("page")
If not isNumeric(page) then page=1
if isEmpty(page) or Cint(page) < 1 then
page = 1
elseif Cint(page) >= allPages then
page = allPages
end if
hf.AbsolutePage = page
do while (not hf.eof) and counts>0
%></td>
</tr>
<tr>
<td height="0" colspan="2" bgcolor="#DEC384">
<%
set us3=server.CreateObject("adodb.recordset")
sql4="select * from user where user_name='"&hf("Resumes_name")&"'"
us3.open sql4,db,1,1
if us3.eof and us3.bof then
us3.close
set us3=nothing
set us3=server.CreateObject("adodb.recordset")
sql4="select * from admin where user_name='"&hf("Resumes_name")&"'"
us3.open sql4,db,1,1
end if
%>
用户信息 </td>
<td height="0" bgcolor="#E7CF94">回复信息</td>
</tr>
<tr>
<td height="92" colspan="2"><img src='image/face/<%=us3("face")%>' width="70" height="70" border="0" ></td>
<td height="92"><table width="100%" border="0">
<tr>
<td><%=hf("Resumes_Content")%></td>
</tr>
</table></td>
</tr>
<tr>
<td height="3" colspan="3">
<%
us3.close
set us3=nothing
%>
<%
counts = counts - 1
hf.movenext
if hf.eof then exit do
loop
end if
%>