I need to assign a variable that will be used to create an identifier label for some html elements.
And it must be unique.
I tried
{assign var=unique_id value=`10|mt_rand:20`}
and
{math equation='rand(10,100)'}
But I do not know how to use the result
I have no other ideas
html smarty
cleanunicorn
source share