I have array like this :
Array
(
[0] => Array
(
[total] => 0
[month] => May
)
[1] => Array
(
[total] => 1000000
[month] => June
)
)
I have variable like this : $target = 3000000
I want add the variable to array
So, the result like this :
Array
(
[0] => Array
(
[total] => 0
[month] => May
[target] => 3000000
)
[1] => Array
(
[total] => 1000000
[month] => June
[target] => 3000000
)
)
Whether it can be done?