Sub Total in smarty
| From: | dr. zoidberg | Date: | Fri, 28 Nov 2003 22:20:06 +0000 |
| Subject: | Sub Total in smarty | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-10602@lists.php.net to get a copy of this message | ||
Hello,
I have
{section name=i loop=$price}
<hr>
{$price[i].name} {$price[i].price}
<hr>
{/section}
I lope through names and prices of some hardware, and I want to display
total cost of all components. I dont know how to do that :( any help is
appreciated.
TNX