I have 3 array below from html textbox txt_job_exp_start[]
, txt_job_exp_end[]
,txt_job_exp_desc[]
and i want to join them together using laravel 7 or any method.
array:3 [▼
"txt_job_exp_start" => array:3 [▼
0 => "2019-03"
1 => "2018-12"
2 => "2017-12"
]
"txt_job_exp_end" => array:3 [▼
0 => "2020-02"
1 => "2019-11"
2 => "2018-08"
]
"txt_job_exp_desc" => array:3 [▼
0 => "Description 1"
1 => "Description 2"
2 => "Description 3"
]
]
This is the result i want. please kindly help me.
array:3 [▼
0 => array:3 [▼
"start" => "2019-03"
"end" => "2020-02"
"description" => "Description 1"
]
1 => array:3 [▼
"start" => "2018-12"
"end" => "2019-11"
"description" => "Description 2"
]
2 => array:3 [▼
"start" => "2017-12"
"end" => "2018-08"
"description" => "Description 3"
]
]