Re: [SMARTY] variable in smarty

From: Date: Mon, 30 Aug 2004 12:33:04 +0000
Subject: Re: [SMARTY] variable in smarty
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11736@lists.php.net to get a copy of this message
adwinwijaya wrote:
Hello smarty-general, can i save the variable in smarty ? for example, I have a value $a = 1 and $b = 2. I want to make $c by sum $a and $b ... Can i do that in smarty ? thx {assign var="foo" value="$foo+$bar"}
there are some more advanced techniques, but that's what you asked for. see the manual for reference. :) regards

« previous php.smarty.general (#11736) next »