3
I got the following array
, for example:
Array
(
[0] => Array
(
[ID] => 401675295
[DATA] => 2016-06-28 15:33:07
[TITULO] => Teste
[TEXTO] =>
[TIPO] => 4
[NOME] => JOAO
)
[1] => Array
(
[ID] => 401675295
[DATA] => 2016-06-28 16:34:31
[TITULO] => Avaliação
[TEXTO] =>
[TIPO] => 3
[NOME] => VITOR
)
[2] => Array
(
[ID] => 401675295
[DATA] => 2016-06-28 16:34:41
[TITULO] => Atendimento
[TEXTO] =>
[TIPO] => 3
[NOME] => JOAO
)
[3] => Array
(
[ID] => 401675295
[DATA] => 2016-06-28 16:34:52
[TITULO] => Concluido
[TEXTO] =>
[TIPO] => 1
[NOME] => PAULO
)
)
How can I count the [TYPE] by value? How to know how many [TYPE] are equal to 3, or 4 for example?
Did not work, showed "Undefined index: TYPE"
– Fleuquer Lima
Yes, this $array = array(); and that array I put in the question.
– Fleuquer Lima
Thanks, I got it, I was missing a name here. = P
– Fleuquer Lima