hello! Just trying to get the name of an assoc array;
$test = array('selected' =>$selected, 'sectionList'=>$sectionList, 'categoryList'=>$categoryList);
<? foreach($test as $list) { ?>
<h3><?=$list?>, <?=$list[id]?>, <?=$list['name']?>, <?=$list['value']?></h3>
<? } ?>
but either get 'Array' or nothing?! I can see the name when i print_r($test);
Do you think this is possible? Thanks in advance, D.