Re: Smarty 1.4.0b2 - upgrade with some nested loop problems
| From: | marc konopka | Date: | Wed, 02 May 2001 17:33:31 +0000 |
| Subject: | Re: Smarty 1.4.0b2 - upgrade with some nested loop problems | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-669@lists.php.net to get a copy of this message | ||
Well, a manuel way to fix loop syntax change
will be cool in the release note.
Just to not have to read to fix_vars.php and understand
what's doing.
----- Original Message -----
From: "Monte Ohrt" <monte@ispi.net>
To: "marc konopka" <konopka@echo.fr>
Cc: <smarty@lists.ispi.net>
Sent: Wednesday, May 02, 2001 7:26 PM
Subject: Re: [smarty] Smarty 1.4.0b2 - upgrade with some nested loop
problems
> read the release notes.
>
> marc konopka wrote:
> >
> > Hi,
> > Need some help
> > I've just try an upgrade from the 1.3 to the 1.4.0b2
> > Now i've got error messages with my nested loop.
> >
> > Below, the code working in 1.3
> >
> > Here's my template code :
> > {section name=loop loop=$moins}
> > {$loop/moins.texte}<br>
> > {/section}
> >
> > My php code
> > unset($result);
> > $query = "select * from ev_moins where ev_moi_pay_id = '$pay_id'";
> > $myres = mysql_query($query);
> > $i = 0;
> > while ($myrow = mysql_fetch_array($myres))
> > {
> > $result[$i]["texte"] = " -
".utf8_decode($myrow["ev_moi_texte"]);
> > $i++;
> > }
> > mysql_free_result($myres);
> > $smarty->assign("moins", $result);
> >
> > Bye,
> >
> > ----- Original Message -----
> > From: "Monte Ohrt" <monte@ispi.net>
> > To: <smarty@lists.ispi.net>
> > Sent: Wednesday, May 02, 2001 6:02 PM
> > Subject: [smarty] Smarty 1.4.0b2 available
> >
> > > Fixed a couple of things, check the changelog.
> > >
> > >
> > > http://www.phpinsider.com/php/code/Smarty/beta/Smarty-1.4.0b2/
> > >
> > > ---
> > > You are currently subscribed to smarty as: konopka@echo.fr
> > > To unsubscribe send a blank email to
$subst('Email.Unsub')
> > > Visit Smarty's homepage at
> > > http://www.phpinsider.com/php/code/Smarty/
> >
> > ---
> > 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/
>
> --
> Monte Ohrt <monte@ispi.net>
> http://www.ispi.net/