Re: [SMARTY] Size of an array - in tpl
| From: | Ryszard Hapka | Date: | Sun, 22 Feb 2004 13:42:18 +0000 |
| Subject: | Re: [SMARTY] Size of an array - in tpl | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11000@lists.php.net to get a copy of this message | ||
perhaps {count($factures)} ?
Olivier DOUCET - REAGI napisał(a):
> Hi everybody
>
> I would like to get the size of an array in my template.
>
> I have
> {foreach from=$factures item=fact}
> ...
> {/foreach}
> Total of lines : [ ?????? ]
>
> Haven't found it yet in the manual... Probably too tired :)
>
> Thx
>
> Olivier DOUCET - Association REAGI
> olivier@reagi.com
> http://www.reagi.com
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php