RE: Nested Sections + Associative Array
| From: | Jim Harlindong | Date: | Sun, 04 Mar 2001 23:27:55 +0000 |
| Subject: | RE: Nested Sections + Associative Array | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-293@lists.php.net to get a copy of this message | ||
Would anyone please help in this?
Desperate now and stuck :(
> > -----Original Message-----
> > From: Jim Harlindong [mailto:jimmy@harlindong.com]
> > Sent: Sunday, 4 March 2001 2:47 AM
> > To: smarty@lists.ispi.net
> > Subject: [smarty] Nested Sections + Associative Array
> >
> >
> > Hi I give up trying to combine nested sections and associative array
> >
> > Here's my data :
> >
$branches[] = array(
'name' => $row->name,
'address' => $postal,
'location' => $location,
'contacts' => array(
array('type' => 'Phone',
'number' => '123123' ),
array('type' => 'Phone',
'number' => '342232')
)
);
> >
> >
> > How can I do a nested section for this ? or should I do it
> differently ??
> >