Re: [SMARTY] Re: Sub Total in smarty
| From: | dr. zoidberg | Date: | Sat, 13 Dec 2003 04:15:42 +0000 |
| Subject: | Re: [SMARTY] Re: Sub Total in smarty | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10683@lists.php.net to get a copy of this message | ||
Monte Ohrt wrote:
Calculate the total in your PHP app and assign it to smarty. This business logic shouldn't be done in the templates.yes, that is what I want to hear. I saw some smarty functions and got confused about what should I do smarty, and what should I do in plain PHP. TNX