Menu
Folks,
Are either of these two are valid arrays or not ?
1.
[code]
$list_5 = array($eu = array(‘0’=>’uk’,’1’=>’france’),array($america = array(“0″=>”usa”,”1″=>”canada”)));
If above code is valid then how to write code so it echoes ‘uk’ and ‘france’ (the values of the EU sub-array) ?
2.
[code]
$list_5 = array(
“eu” => array(‘0’=>’uk’,’1’=>’france’),
“america” =>array(“0″=>”usa”,”1″=>”canada”)
);
If above code is valid then how to write code so it echoes ‘usa’ and ‘canada’ (the values of the America sub-array) ?