{foreach from=$myArray item=item}
{$item.attribute}
{/foreach}
instead of printing all the attributes of each element of the array, I want to output only the third element WITHOUT using a foreach loop, is this possible?
I am looking for something like below, but I don't know the syntax:
$myArray[2].attribute
source
share