Hasan Jafferullah - 2010-07-07 05:48:27
Hi all,
I have a multidimensional array as follows:
Array
(
[0] => Array
(
[date] => 2010-06-14
[description] => Internals
[hours] => 8.0
)
[1] => Array
(
[date] => 2010-06-11
[description] => Working
[hours] => 8.0
)
[2] => Array
(
[date] => 2010-06-10
[description] => Research
[hours] => 8.0
)
)
Now i want to sum up the total hours(i.e 8+8+8=24) from this array..
How to do this..
Thanks in advance
Rgds
Jaffer