Re: [SMARTY] Determining array size in template?

From: Date: Sun, 10 Aug 2003 08:09:27 +0000
Subject: Re: [SMARTY] Determining array size in template?
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10026@lists.php.net to get a copy of this message
On Sat, Aug 09, 2003 at 04:44:11PM -0400, Travis Low wrote: > Where are things like that documented in the manual? Or are they? this is only implicitely documented (as an example) on http://smarty.php.net/manual/en/language.modifiers.php > Travis > > messju mohr wrote: > >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 > > > > > > -- > Travis Low > <mailto:travis@dawnstar.com> > <http://www.dawnstar.com> > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#10026) next »