RE: breaking from loops

From: Date: Wed, 27 Feb 2002 05:54:31 +0000
Subject: RE: breaking from loops
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2857@lists.php.net to get a copy of this message
At 11:51 PM 2/26/02 -0600, Monte Ohrt wrote:
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}
I have to question why he even needs this feature. Logic like this should most likely be in the PHP script that provides the data. What do you need it for exactly? -Andrei

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