Re: [SMARTY] Difference between section and foreach

From: Date: Fri, 21 Jun 2002 14:39:30 +0000
Subject: Re: [SMARTY] Difference between section and foreach
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4964@lists.php.net to get a copy of this message
foreach is used to iterate one variable (with an easier syntax than section), section is used to iterate multiple variables. much like the difference between 'for' and 'foreach' in PHP. Sean Chambers wrote:
Hello, I am a little but confused over the syntax. I don't understand what the difference between {foreach} and {section} can someone please explain it a little better to me? Thank you. Sean Chambers Web Developer Vann Data Technology Centre Daytona Beach, FL (386) 238-1200 ext. 1205 chamberss@vanndata.com
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

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