RE: [PHP] Smarty template question

2002-09-28 Thread Matt Giddings
> http://www.php.net/manual/en/language.types.array.php#language.types.arr > ay.syntax > > > This is done by assigning values to the array while specifying the key > > in brackets. You can also omit the key, add an empty pair of brackets > > ("[]") to the variable-name in that case. > > > $arr[k

RE: [PHP] Smarty template question

2002-09-28 Thread Peter J. Schoenster
Was written > > > while( $row = $result->fetchRow( DB_FETCHMODE_ASSOC ) ) { > > > $rowdata[$i] = $row; > > > $i++; > > > > I don't think you need the $i. > > I need the $i because I'm assigning the every row from the result into > an array. http://www.php.net/manual/en/language.ty

RE: [PHP] Smarty template question

2002-09-28 Thread Matt Giddings
2 5:25 PM > To: [EMAIL PROTECTED] > Cc: Matt Giddings > Subject: Re: [PHP] Smarty template question > > > > On 28 Sep 2002 at 15:48, Matt Giddings wrote: > > > Hello, > > > > Be for warned that I am new to smarty and for some reason I'm > > find

RE: [PHP] Smarty template question

2002-09-28 Thread Matt Giddings
> -Original Message- > From: Peter J. Schoenster [mailto:[EMAIL PROTECTED]] > Sent: Saturday, September 28, 2002 5:25 PM > To: [EMAIL PROTECTED] > Cc: Matt Giddings > Subject: Re: [PHP] Smarty template question > > > > On 28 Sep 2002 at 15:48, Mat

Re: [PHP] Smarty template question

2002-09-28 Thread Peter J. Schoenster
On 28 Sep 2002 at 15:48, Matt Giddings wrote: > Hello, > > Be for warned that I am new to smarty and for some reason I'm > finding it very difficult to learn. ??? Anyway, my question is how do > I access an array of associative arrays via the {section} statement? > > Heres the code: Matt,

[PHP] smarty template question.

2002-09-28 Thread Matt Giddings
Hello, Be for warned that I am new to smarty and for some reason I'm finding it very difficult to learn. ??? Anyway, my question is how do I access an array of associative arrays via the {section} statement? Heres the code: PHP: Function readComment( &$smarty, $bid ) { ... // t

[PHP] Smarty template question

2002-09-28 Thread Matt Giddings
Hello, Be for warned that I am new to smarty and for some reason I'm finding it very difficult to learn. ??? Anyway, my question is how do I access an array of associative arrays via the {section} statement? Heres the code: PHP: Function readComment( &$smarty, $bid ) { ... // t