{while}
{while} is similar to PHP while command. Available since version 4.1.0
{assign var="loop_control" value=true}
{while var="loop_control"}
....
{if you_want_to_exit_loop}{assign var="loop_control" value=false}{/if}
{/while}
{insert_header}
Use {insert_header} to set HTTP header during page load eg for redirects or when creating wap-pages:
{insert name=header content="Content-Type: text/vnd.wap.wml"}
{array_push}
Similar to PHP array_push command, helps creating arrays. Variable type will be changed to array (existing string value may be lost). Available since version 4.1.0
{$array|@array_push:"foo"} {* same as $array[]="foo" in PHP *}
{get_fields}
Returns a list of fields in given database table:
{get_fields name="fields" table="users"}
{foreach from=$fields item=field}
{$field}
{/foreach}
RSS