Got a small question. Why this piece of code does only returns one package?
# Packages data
'packages' => [
'package' => [
'height' => '100',
'width' => '200',
],
'package' => [
'height' => '1300',
'width' => '2040',
],
'package' => [
'height' => '1200',
'width' => '2020',
],
]
When I change the names to: packages_1, packages_2, packages_3 they output correctly but when I give them the same name it does only output one package. Is there any way to solve this?