Nested Sections + Associative Array
| From: | Jim Harlindong | Date: | Sat, 03 Mar 2001 16:46:34 +0000 |
| Subject: | Nested Sections + Associative Array | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-286@lists.php.net to get a copy of this message | ||
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 ??