I am not usually a Smarty guy, so I\'m a bit stuck.
I want to echo the index of an array, but I want to increment it each time I echo it.
This is what I have...<
{foreach from=$foo item=bar name=humbug} {$smarty.foreach.humbug.index} {$smarty.foreach.humbug.iteration} {/foreach}
or
{foreach from=$foo item=bar name=berlin} {$smarty.foreach.berlin.index} {$smarty.foreach.berlin.iteration} {/foreach}