how to append an array into associative array

Solutions on MaxInterview for how to append an array into associative array by the best coders in the world

showing results for - "how to append an array into associative array"
Ambrine
08 May 2019
1$data[$category][] = $item;