title: Smarty: print a specific element of an array WITHOUT using foreach loop
body: <pre><code>{foreach from=$myArray item=item}
      {$item.attribute}
  {/foreach}
  </code></pre>
  
  <p>instead of printing all attributes of each element of the array, I want to output only the 3rd element WITHOUT using a foreach loop, is it possible?</p>
  
  <p>I'm looking for something like the below, but I don't know the syntax:</p>
  
  <pre><code>$myArray[2].attribute
  </code></pre>