RE: Nested Sections + Associative Array [SOLUTION]
| From: | Joris Trooster / Interstroom | Date: | Mon, 05 Mar 2001 08:39:13 +0000 |
| Subject: | RE: Nested Sections + Associative Array [SOLUTION] | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-299@lists.php.net to get a copy of this message | ||
> while( list($k,$v) = each($branches) ) {
> $branche_array[$k]['name'] = $v['name'];
> $branche_array[$k]['address'] = $v['address'];
> $branche_array[$k]['location'] = $v['location'];
> $branche_array[$k] = $v;
> $contact_array[$k] = $v['contacts'];
I'm sorry $branche_array[$k] = $v; should not be here in this example. Or
leave the first three $branche_array out...
Joris.