Re: [SMARTY] Sections Question

From: Date: Sun, 20 Oct 2002 02:31:08 +0000
Subject: Re: [SMARTY] Sections Question
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6198@lists.php.net to get a copy of this message
To test: $foo = $result->GetArray(25); print "<pre>"; var_dump($foo); print "</pre>Rest of template stuff follows<br>"; $template->assign('items_ar',$foo); ... Jason ----- Original Message ----- From: "Oleg Krogius" <olegk@cgshock.com> To: "'Brandon Inman'" <brinman2002@yahoo.com>; <smarty-general@lists.php.net> Sent: Saturday, October 19, 2002 12:40 PM Subject: RE: [SMARTY] Sections Question > I tried running some echo's as the ones I listed in the original mail. > Worked fine, so I'm pretty sure it's a multidimensional associative > array as I described. You can also see a quick description of this > function at http://php.weblogs.com/adodb_manual#getarray . > > But since you're sure the template is just sound, do you have any other > ideas what I should do to check the returned array from GetArray()? > > Thanks for your time. > > -----Original Message----- > From: Brandon Inman [mailto:brinman2002@yahoo.com] > Sent: Saturday, October 19, 2002 12:27 PM > To: Oleg Krogius; smarty-general@lists.php.net > Subject: Re: [SMARTY] Sections Question > > > --- Oleg Krogius <olegk@cgshock.com> wrote: > > Hi, > > > > I have my PHP code to do this prior to displaying the template: > > > > $template->assign('items_ar',$result->GetArray(25)); > > > > Check your code that $result->GetArray(25) is returning what you > think it is returning. Your template seems to be sound. > > > __________________________________________________ > Do you Yahoo!? > Y! Web Hosting - Let the expert host your web site > http://webhosting.yahoo.com/ > > > > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

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