Re: [SMARTY] Another array related question
| From: | Katana | Date: | Mon, 14 Apr 2003 20:30:27 +0000 |
| Subject: | Re: [SMARTY] Another array related question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9254@lists.php.net to get a copy of this message | ||
NM> Is there anyway in Smarty to find out the number of elements in an
NM> array? Or is there a way to return all the keys of an array as an
NM> array? Or do people usually create some PhP code inside a Smarty
NM> template to handle that?
{$array|@count} if i remember correctly