Re: [SMARTY] Doc Error for include_php

From: Date: Thu, 05 Dec 2002 15:27:18 +0000
Subject: Re: [SMARTY] Doc Error for include_php
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6652@lists.php.net to get a copy of this message
Thanks, got it for next release. On Thu, 2002-12-05 at 03:55, Aliba Sora wrote: > I should have spotted this one after copying the code but it took me a while > to track down why they weren't displaying in the template. > > > http://smarty.php.net/manual/en/language.function.include.php.html > > Example 7-9. function include_php > > load_nav.php > ------------- > > $this->assign($sections,$sql->record); > > Should be > > $this->assign("sections",$sql->record); > > index.tpl > --------- > > {foreach item=$curr_section from=$sections} > > Should be > > {foreach item=curr_section from=$sections} > > Whoops! Whoever wrote those was probably doing it at the same hour I was > trying to track it down. Night all.... -- Monte Ohrt <monte@ispi.net>

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