Re: [SMARTY] Determining array size in template?
| From: | messju mohr | Date: | Sat, 09 Aug 2003 20:13:28 +0000 |
| Subject: | Re: [SMARTY] Determining array size in template? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10017@lists.php.net to get a copy of this message | ||
On Sat, Aug 09, 2003 at 03:48:26PM -0400, John Wells wrote:
> Guys,
>
> Is there a built-in way to determine the size of an array in a template
> via Smarty, or do I have to loop through and count it?
{$array|@count}
HTH
messju
> Thanks for the help!
>
> John