<%response.charset = "GBK"if request.cookies("guest")("username")="" thenresponse.write "<script>alert('非法操作1!');history.back();</script>"response.endend if%><!--#include file="conn.asp"--><%dim rs,sqlset rs = server.createobject("adodb.recordset")sql = "select * from G_Note where G_ToUser='"&request.cookies("guest")("username")&"'"rs.open sql,conn,1,1%>以上是頭部一次增加一條呢?<div id="contentmember"><h1>會員個人中心</h1><div><p style="text-align:center;height:30px;line-height:30px;">收件箱 | 發件箱</p><table border="1"><tr><th>發件人</th><th>發件內容</th><th>發件時間</th></tr><%do while not rs.eof%><tr><td>發件人</td><td>發件內容</td><td>發件時間</td></tr><%rs.movenextloop%></table></div></div>把而變成一條了,請朋友們給看看
1 回答

慕碼人8056858
TA貢獻1803條經驗 獲得超6個贊
<table border="1">
<tr><th>發件人</th><th>發件內容</th><th>發件時間</th></tr>
<%
do while not rs.eof
%>
<tr><td>發件人</td><td>發件內容</td><td>發件時間</td></tr>
<%
rs.movenext
loop
%>
</table>
改成:
<table border="1">
<tr>
<td>發件人</td>
<td>發件內容</td>
<td>發件時間</td>
</tr>
<%
do while not rs.eof
%>
<tr>
<td>發件人</td>
<td>發件內容</td>
<td>發件時間</td>
</tr>
<%
rs.movenext
loop
%>
</table>
- 1 回答
- 0 關注
- 262 瀏覽
添加回答
舉報
0/150
提交
取消