Код: Выделить всё
array_push($array, getData())Код: Выделить всё
Array
(
[customer] => One
[itemno] => Yellow Ribbon
)
Array
(
[customer] => One
[itemno] => Blue Band
)
Array
(
[0] => Array
(
[customer] => Two
[itemno] => Red Tape
)
)
< /code>
Но я хочу: < /p>
Array
(
[customer] => One
[itemno] => Yellow Ribbon
)
Array
(
[customer] => One
[itemno] => Blue Band
)
Array
(
[customer] => Two
[itemno] => Red Tape
)
Подробнее здесь: https://stackoverflow.com/questions/348 ... r-2d-array
Мобильная версия