效果如下:
<div id="1">
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/001.jpg"><span>张翠山-001</span></li>
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/002.jpg"><span>张翠山-002</span></li>
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/003.jpg"><span>张翠山-003</span></li>
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/004.jpg"><span>张翠山-004</span></li>
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/005.jpg"><span>张翠山-005</span></li>
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/006.jpg"><span>张翠山-006</span></li>
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/007.jpg"><span>张翠山-007</span></li>
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/008.jpg"><span>张翠山-008</span></li>
</div>
<div id="2">
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/009.jpg"><span>张翠山-009</span></li>
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/010.jpg"><span>张翠山-010</span></li>
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/011.jpg"><span>张翠山-011</span></li>
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/012.jpg"><span>张翠山-012</span></li>
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/013.jpg"><span>张翠山-013</span></li>
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/014.jpg"><span>张翠山-014</span></li>
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/015.jpg"><span>张翠山-015</span></li>
<li class="team_commendPic"><img src="/Template/HanmeiSite/test/016.jpg"><span>张翠山-016</span></li>
</div>
<div id="3">
.......
</div>
<div id="4">
.......
</div>
.
.
.
.
.
用SQL查询,循环若干个div里面包含固定数量的文章。(我这里一个div里面包含8条文章数据),请各位帮办忙!!谢谢啦!!