怎么样循环输出以下内容?
<div class="slide"> <div class="itemm"> <a href="" target="_blank"><img src="images/243.jpg}" width="160" style="max-width:90%" alt="Slide 1"></a> <center><p>产品1</p> </center> </div> <div class="itemm"> <a href="" target="_blank"><img src="images/243.jpg}" width="160" style="max-width:90%" alt="Slide 1"></a> <center><p>产品1</p> </center> </div> <div class="itemm"> <a href="" target="_blank"><img src="images/243.jpg}" width="160" style="max-width:90%" alt="Slide 1"></a> <center><p>产品1</p> </center> </div></div> <div class="slide"> <div class="itemm"> <a href="" target="_blank"><img src="images/243.jpg}" width="160" style="max-width:90%" alt="Slide 1"></a> <center><p>产品1</p> </center> </div> <div class="itemm"> <a href="" target="_blank"><img src="images/243.jpg}" width="160" style="max-width:90%" alt="Slide 1"></a> <center><p>产品1</p> </center> </div> <div class="itemm"> <a href="" target="_blank"><img src="images/243.jpg}" width="160" style="max-width:90%" alt="Slide 1"></a> <center><p>产品1</p> </center> </div></div> <div class="slide"> <div class="itemm"> <a href="" target="_blank"><img src="images/243.jpg}" width="160" style="max-width:90%" alt="Slide 1"></a> <center><p>产品1</p> </center> </div> <div class="itemm"> <a href="" target="_blank"><img src="images/243.jpg}" width="160" style="max-width:90%" alt="Slide 1"></a> <center><p>产品1</p> </center> </div> <div class="itemm"> <a href="" target="_blank"><img src="images/243.jpg}" width="160" style="max-width:90%" alt="Slide 1"></a> <center><p>产品1</p> </center> </div></div>
我这样操作不行:
你不用他的模板引擎的吗?那你用它的什么呢?
用的,