【发布时间】:2016-06-21 11:22:35
【问题描述】:
如何在 CodeIgniter 中获取所有 total_duration 的总和。
Array
(
[caller] => Ravneet Kaur
[total_calls] => 1
[total_duration] => 00:00:06
)
Array
(
[caller] => Navneet Kaur
[total_calls] => 2
[total_duration] => 00:00:19
)
Array
(
[caller] => Jasmeet Kaur
[total_calls] => 0
[total_duration] => 00:00:00
)
Array
(
[caller] => sunny Kumar
[total_calls] => 0
[total_duration] => 00:00:00
)
【问题讨论】:
-
你需要total_duration所有数组的总和对吗??
-
是的@Yogesh Shakya
标签: php arrays codeigniter