Re: [問題] ASP重複表格如何改成迴圈呢??
※ 引述《yksg (YKSG)》之銘言:
: ※ 引述《gamespace (J.S幻想)》之銘言:
: : 其中幾行是
我想,他的意思應該不是這樣,如果真要改寫,應該要這樣寫
<% for i = 1 to 14 %>
<% if not rs.eof then %>
<tr>
<td class="tdback"><input type="radio" value="<%=i%>" name="number">
<td class="tdback"><%=rs("txt")%><br><%=rs("show")%></td>
<td class="tdback"><%=rs("office")%></td>
</tr>
<% rs.MoveNext %>
<% end if %>
<% next %>
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 60.244.118.93
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 3 之 3 篇):