{foreach $foo as $bar} {$bar.zag} {$bar.zag2} {$bar.zag3} {foreachelse} There were no rows found. {/foreach}