W
W
workRave2016-09-20 00:41:06
PHP
workRave, 2016-09-20 00:41:06

Working with arrays. How to find the desired element and perform the desired action?

I am a beginner programmer.
There is a large array: https://gist.github.com/anonymous/75b099fafc1057c7...
This is the statistics of calls from Ip-telephony.
I know [pbx_call_id] => in_cf2e65da2eacefc911161cf9d473decf62297f1a
I need to find all pbx_call_id where the key I need is contained, and depending on [disposition], [sip], in the arrays that contain the key I need, I need to perform an action.
How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2016-09-20
@workRave

traverse the array and do what needs to be done.
the problem is what? unfamiliar with loops or array functions?
upd and an array, then you have one-dimensional.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question