RE: [SMARTY] Sections Question
| From: | Oleg Krogius | Date: | Sat, 19 Oct 2002 17:40:09 +0000 |
| Subject: | RE: [SMARTY] Sections Question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6196@lists.php.net to get a copy of this message | ||
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/