I've been experimenting with Smarty lately a bit (first time into using this kind of stuff), and I have a quick question I just can't figure out..
I have created a function for Smarty, called get_users(), so it'd be {get_users} into my .tpl
I want to do a foreach of these "get_users", so it'd look like this
{foreach get_users as $user}
magic
{/foreach}
Now, my question is.. as this is not working, how should I approach this issue?
Thanks!