I am looking for a way to create
<option>.Name1.</option>
<option>.OtherName.</option>
so on for every top value, reason to think how to extract the array value, without to know the name (Name1, OtherName, etc, that values will come dynamic). For print_r or var_dump you will see the below structure:
array (
'Name1' =>
array (
'diametru' =>
array (
0 => 15,
7 => 16,
),
'latime' =>
array (
0 => 6,
9 => 5,
),
),
'OtherName' =>
array (
'diametru' =>
array (
0 => 16,
2 => 17
),
'latime' =>
array (
0 => 6,
1 => 7,
10 => 5,
35 => 8,
),
),
.........
)
I will be grateful for any help you can provide.