I have been trying for a while but I can't seem to loop through a multi dimensional array.
I have this array:
$Work["work_time"] = array();
$Work["break_time"] = array();
$Work["meeting_time"] = array();
$Work["login_time"] = array();
$Work["logout_time"] = array();
$Work["work_date"] = array();
Which print_r($Work) outputs this
Array
(
    [work_time] => Array
        (
            [0] => 0.00
            [1] => 3.96
            [2] => 7.75
        )
    [break_time] => Array
        (
            [0] => 0.00
            [1] => 0.00
            [2] => 1.06
        )
    [meeting_time] => Array
        (
            [0] => 0.00
            [1] => 0.00
            [2] => 0.00
        )
    [login_time] => Array
        (
            [0] => 10:11
            [1] => 08:48
            [2] => 09:09
        )
    [logout_time] => Array
        (
            [0] => 00:00
            [1] => 13:00
            [2] => 17:59
        )
    [work_date] => Array
        (
            [0] => 2018-04-13
            [1] => 2018-04-16
            [2] => 2018-04-17
        )
)
And then I tried to use a foreach loop to loop through it and get the values but it returns nothing..
foreach ($Work as $row) {
 echo $row["login_time"];
}
What am I missing?
 
     
     
     
     
     
    