Re: [SMARTY] Re: I found a BUG in Smarty!

From: Date: Thu, 16 May 2002 13:02:56 +0000
Subject: Re: [SMARTY] Re: I found a BUG in Smarty!
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4220@lists.php.net to get a copy of this message
"Johann" <programisci_listy@murator.com.pl> schrieb im Newsbeitrag news:6111520875.20020516142059@murator.com.pl... > On 16 maja 2002 at 14:09:04 > Norbert Röcher <norbert.roecher@t-online.de> > wrote: > > > If the value gets lost, the script would print out "INSIDE3:". Does > > it or doesn't it? > > Only first value is printed out. It looks like the file was > included only once and never more. Not only values are lost. The > script is lost also. It run only once. RESULTS are: > > INSIDE3: A > INSIDE2: A > INSIDE1: A > > INSIDE2: B > INSIDE1: B > > INSIDE2: C > INSIDE1: C Hm, so the script is included only once. Put your code into a function and call it, as often as needed, from smarty - or something like that. :-) Greetings, Norbert

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