I have an array ($configOptions) which contains some arrays. Each array ($option) in that array has this structure:
array
'manufacturer1_sender' => string 'general' (length=7)
'manufacturer1_mail' => string '[email protected]' (length=16)
'manufacturer1_template' => string
'orderhandling_options_manufacturer1' (length=58)
'manufacturer1_name' => string 'Acer' (length=4)
The only thing that changes is the number like in manufacturer1_name. The number can be 2,3,4 and so on. Now I have this code:
foreach($configOptions as $option) {
$name = ??????????;
}
The $option is the array which I dumped above, how could I access manufacturerN_name in the foreach?
Thanks!