RE: [SMARTY] Help understand Smarty - arrays, variables, general

From: Date: Thu, 01 Jul 2004 19:04:42 +0000
Subject: RE: [SMARTY] Help understand Smarty - arrays, variables, general
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-11516@lists.php.net to get a copy of this message
Assign the associative array to a smarty variable in one line of code then use foreach http://smarty.php.net/manual/en/language.function.foreach.php or section http://smarty.php.net/manual/en/language.function.section.php in your .tpl. You can make one .tpl for the layout/presentation of one record of info, then include it inside a foreach, whether there's one record or multiple, you've just made your stuff modularly reusable. HTH- Geoffrey

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