Re: [SMARTY] Another array related question
| From: | Alan Lam | Date: | Tue, 15 Apr 2003 02:26:33 +0000 |
| Subject: | Re: [SMARTY] Another array related question | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9262@lists.php.net to get a copy of this message | ||
Hello Nancy,
> Is count undocumented?
and
> > Is there anyway in Smarty to find out the number of elements in an
> > array?
You can find the info on chapter 5. http://smarty.php.net/manual/en/language.modifiers.php
If you would like to use any of the modifiers (ie. count) to an array, you would add a "@"
after the pipe, "|" like what Katana have said.
HTH.
Alan Lam
http://www.goodorient.com