I have these 3 arrays:
$date = array('2017-06-10',
'2017-06-11',
'2017-06-12');
$time_start = array('02:00 PM',
'03:00 PM',
'04:00 PM');
$time_end = array('05:00 PM',
'06:00 PM',
'07:00 PM');
I want to put these arrays into one array that will produce this form:
$frequency = array(array('2017-06-10','02:00 PM','05:00 PM'),
array('2017-06-11','03:00 PM','06:00 PM'),
array('2017-06-12','04:00 PM','07:00 PM'));
I tried array_combine and array_merge but they showed different results as what I wanted to produce. Please help.