Assign a variable
Posted: Thu Dec 03, 2015 7:05 pm
Hi
Need some help with assigning one variable to another.
{assign var=AnyVariable value= Withmind}
{assign var=$AnyVariable value= $Withmind}
This is what I've tried but both fail.
Also tried $1 = $2
Can someone give me a working formula to transfer one variable to another. Does smarty come in somewhere.
Would like to put the code into UDT if poss.
A bit thick on this subject.
Thanks
Need some help with assigning one variable to another.
{assign var=AnyVariable value= Withmind}
{assign var=$AnyVariable value= $Withmind}
This is what I've tried but both fail.
Also tried $1 = $2
Can someone give me a working formula to transfer one variable to another. Does smarty come in somewhere.
Would like to put the code into UDT if poss.
A bit thick on this subject.
Thanks