How to add a new element into one array recursively, The case like this,
$insertNew = "Another Value";
Main Array :
Array
(
[0] => 1
[1] => 2
[2] => 3
[3] => 4
)
I need an array like below becaue I want to make a insert batch in mysql
[
['Another Value', 1],
['Another Value', 2],
['Another Value', 3],
['Another Value', 4],
]
Please advise.