I have an array with start date and end date. Now I want to save the individual days between the given days in an array.
Array
(
[0] => Array
(
[start] => 2019-02-16
[end] => 2019-02-23
)
[1] => Array
(
[start] => 2019-03-15
[end] => 2019-03-17
)
[2] => Array
(
[start] => 2019-03-23
[end] => 2019-03-24
)
[3] => Array
(
[start] => 2019-03-27
[end] => 2019-03-29
)
[4] => Array
(
[start] => 2019-04-17
[end] => 2019-04-21
)
)
That should be the result: (only the days in "between")
Array
(
'2019-03-16',
'2019-03-28',
'2019-04-18',
'2019-04-19',
'2019-04-20'
)
How can I loop through the array?