Re: [SMARTY] math problem
| From: | Elgi | Date: | Tue, 08 Apr 2003 19:56:29 +0000 |
| Subject: | Re: [SMARTY] math problem | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9194@lists.php.net to get a copy of this message | ||
Hello Sascha,
I must use function
{math equation="x+y" x=$row_changer y=1 assign=my_new_var}
see the doc, i'm not sure of me for assign in the function ;)
--
Cordialement,
Elgi
Le mercredi 9 avril 2003 à 22:00:20, vous écriviez :
SW> Hello,
SW> I my Template I have an row like this:
SW> {assign var=row_changer value=$row_changer+1}
SW> In Smarty Version 2.3.0 I works fine and add's 1 to the var "row_changer"!
SW> Now in Version 2.4.2 nothing happens in this code row!
SW> Whats my fault?
SW> Greetings
SW> Sascha