We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
continue} leaves the current iteration and begins with the next iteration. It may be inside {foreach}, {section}, {for} and {while} tags.
{$colors = [white=>'#FFF', black=>'#000', blue=>'#00F', green=>'#0F0', red=>'#F00']} {foreach $colors as $color_name => $color_code} {if $color_name == "white"} {* skip this iteration *} {continue} {/if} <span style="color:{$color_code}">{$color_name}</span> {/foreach}
see also {continue} in PHP Smarty documentation