Returns a list of fields in given database table:
{get_fields name="fields" table="users"} {foreach from=$fields item=field} {$field} {/foreach}