mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
fix counter example
This commit is contained in:
@@ -3450,19 +3450,17 @@ The value of $name is Bob.</programlisting>
|
||||
<title>counter</title>
|
||||
<programlisting>
|
||||
{* initialize the count *}
|
||||
{counter start=0 skip=2 print=false}
|
||||
|
||||
{counter}<br>
|
||||
{counter start=0 skip=2}<br>
|
||||
{counter}<br>
|
||||
{counter}<br>
|
||||
{counter}<br>
|
||||
|
||||
OUTPUT:
|
||||
|
||||
0<br>
|
||||
2<br>
|
||||
4<br>
|
||||
6<br>
|
||||
8<br></programlisting>
|
||||
6<br></programlisting>
|
||||
</example>
|
||||
</sect1>
|
||||
<sect1 id="language.function.cycle">
|
||||
|
Reference in New Issue
Block a user