template syntax for array index

Jake Bunce

Well-known member
Is there a template equivalent for this?

Code:
$array[$index]

I tried this but it doesn't work:

Code:
{$array.$index}
 
Top Bottom