i am new to array. Hope you can help me. i have 2 array. Let say:
array 1 = [[50,60],[70,80]]
array 2 = ["Fire", "Marine"]
array 1 index : Array([0]=>Array ([0]=>50 [1]=>60) [1]=>Array ([0]=>70 [1]=>80))
array 2 index : Array ([0]=> Fire [1]=>Marine)
How i can insert array 2 into array 1 like output below :
Output that i want like below:
array 3 = [["Fire",50,60],["Marine",70,80]]
array 3 index = (Array([0]=>Array ([0]=>Fire [1]=>50 [2]=>60) [1]=>Array ([0]=>Marine [1]=>70 [2]=>80))
Thanks