Re: [SMARTY] size of array
| From: | messju mohr | Date: | Tue, 11 Jan 2005 11:08:39 +0000 |
| Subject: | Re: [SMARTY] size of array | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12141@lists.php.net to get a copy of this message | ||
On Tue, Jan 11, 2005 at 10:42:16AM +0000, Abdul-Wahid Paterson wrote:
> Hi,
>
> Is there a way of finding out the size of an array from within a
> smarty template?
{$array|@count}
it's one of the examples at
http://smarty.php.net/manual/en/language.modifiers.php
> Abdul-Wahid
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php