我有一個類似的腳本。下面的代碼會爲每個foreach對象創建一個新的<li></li>。 我要的是創造<li></li> html tag when counter is 4. {foreach from=$books value=book}
<div id="box1" class="box">
<div id="box2" class="box"> <img src="{
刪除重複我有這樣 SELECT TOWN, NAME FROM CINEMA WHERE CITY_ID = ".$_POST['country']." GROUP BY TOWN, NAME
鑑於一側的查詢,我採用的值與template_lite <table border="1" >
<br />
{foreach value=mp from=$mpbycity}
<tr>