Re: [SMARTY] 3 photos at one row

From: Date: Fri, 21 Nov 2003 13:23:44 +0000
Subject: Re: [SMARTY] 3 photos at one row
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10575@lists.php.net to get a copy of this message
> > {counter name=c1 start=1 skip=3 assign=id2} > {counter name=c2 start=2 skip=3 assign=id3} > {section name=id1 loop=$images step=3} > {* code here for examole *} > {$images[id1].alt}<br> > {$images[$id2].alt}<br> {* notice $id2 not id2 *} > {$images[$id3].alt}<br> > > > {counter name=c2 assign=id2} > {counter name=c3 assign=id3} > {/section} > > I hope this helps :) Can you explain how this example works please? I don't really understand what is happening.

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