I need to know how to group and add array , but I'm not sure how to do it.
$array = array("vermelho", "vermelho", "vermelho", "verde", "azul", "azul");
I wanted a return like this
3
1
2
That is, it will group and add up the amoun...
asked by
08.01.2014 / 00:06