Smarty variable in array index <p>Have months array <code>$months('January', 'February', 'May')</code></p> <p>and want show this month in loop </p> <pre><code>{for $foo=1 to 3} {$months[$foo]} {/for} </code></pre> <p>I get white page, what is wrong with my code ?</p>