RE: breaking from loops
| From: | Monte Ohrt | Date: | Wed, 27 Feb 2002 05:51:49 +0000 |
| Subject: | RE: breaking from loops | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2856@lists.php.net to get a copy of this message | ||
hmm, not currently one, but it would probably take about 5 minutes to write
a {break} plugin function. ;-) or if you're impatient, do {php} break;
{/php}
> -----Original Message-----
> From: Travis Low [mailto:travis@dawnstar.org]
> Sent: Tuesday, February 26, 2002 10:22 PM
> To: smarty@lists.ispi.net
> Subject: [smarty] breaking from loops
>
>
> Greetings, smarties. Is there a way to break out of a loop (section
> or foreach)? I did RTFM and search the archives, but I don't see how
> to do that. Thanks in advance!
>
> --
> Travis Low
> <mailto:travis@dawnstar.org>
> <http://dawnstar.org/travis>
>
>
> ---
> You are currently subscribed to smarty as: monte@ispi.net
> To unsubscribe send a blank email to $subst('Email.Unsub')
> Visit Smarty's homepage at
> http://www.phpinsider.com/php/code/Smarty/