通过本文主要向大家介绍了数据库横向扩展,php读取数据库字段,从数据库中读取数据,从数据库中读取图片,c#读取数据库数据等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<% do while not rs.eof %>
<tr>
<td height="80"><img src="<%= rs("图片")%>" width="160" height="80"></td>
</tr>
<% i=i+1
if i>=MaxPerPage then exit do
rs.movenext
loop
%>
</table>
记录排列如下:
1
2
3
4
5
如果我想把记录排列改成
1 2 3
4 5
那么以上代码该怎么改,请高手帮忙一下
</div> </div>
<% do while not rs.eof %>
<tr>
<td height="80"><img src="<%= rs("图片")%>" width="160" height="80"></td>
</tr>
<% i=i+1
if i>=MaxPerPage then exit do
rs.movenext
loop
%>
</table>
记录排列如下:
1
2
3
4
5
如果我想把记录排列改成
1 2 3
4 5
那么以上代码该怎么改,请高手帮忙一下
</div> </div>