How add new line after four looping in smarty templates
<p>i want to add new line after four looping. i using {section loop=$arrProducts name=index}
when execute array will show all products in one line but i want to add every four products in line. what can i do???</p>

<p>Thank You this code i use</p>

<pre><code>                              {if $arrProducts neq " "}
                          {section loop=$arrProducts name=index}
                            &lt;td width="565" align="center" valign="top"&gt;

                                &lt;img src="admin/{$arrProducts[index].image}" width="121" height="90" class="prodImg"/&gt;&lt;br&gt;
                                &lt;span class="prodName"&gt;{$arrProducts[index].name}&lt;/span&gt;&lt;br&gt;
                                &lt;span class="prodPrice"&gt;{$arrProducts[index].price}&amp;nbsp;LE&lt;/span&gt;&lt;br&gt;
                                &lt;font class="quality"&gt;QTY.&lt;/font&gt;&lt;input type="text" name="txtorder" size="1" class="txtproduct" /&gt;&lt;font class="quality"&gt;&amp;nbsp;Kg&lt;/font&gt;&lt;br /&gt;
                          &lt;/td&gt;
                            {/section}
                            {/if}
</code></pre>
