Posted by Freebird on 11/24/05 02:24
Hello you all, =]
I've a smarty var, like this:
{$var}
that is equal to: ttttttttttttt|zzzzzzzzzzzz
It can be any size, the important is that they are separated by the '|'
How do I 'explode' that into an array or 2 variables in the smarty template
?
So I can just use:
{$var[0]} = ttttttttttttt;
{$var[0]} = zzzzzzzzzzzz;
Tks in advance
Freebird
Navigation:
[Reply to this message]
|