Php – Same array but different output for foreach by iterating or using the key
I have an array (representing $detective) that looks like this: Array ( [detectiveid] => 52 [name] => Waal - Noord [rise_value] => 2 [rise_time] => 3 [drop_value] => 2 [drop_time] => 3 [max_time] => 80 [max_speed] => 30 [max_range] =>…