Hi!
I have the following problem:
I have the following 2 dim. array:
[0] => Array
(
[0] => Daily-Heartbeat alerts in business time
[1] => Daily-Heartbeat alerts out business time
[2] => Authorized-Scan alerts out business time
[3] => Pinpoint-LoginFail alerts in business time
[4] => Pinpoint-RootSUFail alerts in business time
[5] => Daily-Heartbeat alerts in business time
[6] => Daily-Heartbeat alerts out business time
[7] => Authorized-Scan alerts out business time
[8] => Pinpoint-LoginFail alerts in business time
[9] => Pinpoint-RootSUFail alerts in business time
)
[1] => Array
(
[0] => 1
[1] => 2
[2] => 2
[3] => 1
[4] => 1
[5] => 1
[6] => 2
[7] => 2
[8] => 1
[9] => 1
)
From this array I wan't select the unique elements, and to sum their datas. I know,
that the unique elements can I select with the array_unique( ).
[0] => Daily-Heartbeat alerts in business time
[1] => Daily-Heartbeat alerts out business time
[2] => Authorized-Scan alerts out business time
[3] => Pinpoint-LoginFail alerts in business time
[4] => Pinpoint-RootSUFail alerts in business time
How can I sum their datas?
Please help me!
Thanx: Joe