I am creating a computation of boardfeet and I want to store all submitted data from a form to an array. I want to do is when I submit the form the data will be saved in an array the when submitted again the data will be added to the array.
I have an array submitted from a form:
Array
(
[0] => Array
(
[length] => 5
[width] => 3
[height] => 2
)
)
I want it to merge with this array.:
Array
(
[0] => Array
(
[length] => 3
[width] => 3
[height] => 3
)
[1] => Array
(
[length] => 5
[width] => 5
[height] => 5
)
[2] => Array
(
[length] => 5
[width] => 5
[height] => 5
)
)