How to count size of array in TPL?

From: Date: Wed, 27 Nov 2002 13:24:40 +0000
Subject: How to count size of array in TPL?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6569@lists.php.net to get a copy of this message
Hello I have 'foreach' loop based on associative array derived from database. I would like to print size of the array (number of rows) before 'foreach' loop. Any ideas? BartekP

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