title: smarty section loop
body: <p>I am trying to get a loop for following...</p>
  
  <pre><code>{$product.min_val} //2
  {$product.max_val} //8
  </code></pre>
  
  <p>and i am trying following...</p>
  
  <pre><code>{section name=val start=$product.min_val loop=$product.max_val step=0}
  &lt;p id="{$smarty.section.val.index}"&gt;{$smarty.section.val.index}&lt;/p&gt;
  {/section}
  </code></pre>
  
  <p>it prints following...</p>
  
  <pre><code>&lt;p id="2"&gt;2&lt;/p&gt;
  &lt;p id="3"&gt;3&lt;/p&gt;
  &lt;p id="4"&gt;4&lt;/p&gt;
  &lt;p id="5"&gt;5&lt;/p&gt;
  &lt;p id="6"&gt;6&lt;/p&gt;
  &lt;p id="7"&gt;7&lt;/p&gt;
  </code></pre>
  
  <p>You might have noticed that its missing <code>&lt;p id="8"&gt;8&lt;/p&gt;</code> according to <code>{$product.max_val}</code>
   thanks.</p>