Se ho un array(1,1,2,2,3)
e con array_diff tolgo un array(1,2)
mi ritorna solamente array(3)
come posso far togliere solamente una volta i valori ottenendo, così:
array(1,2,3)
Grazie.
Se ho un array(1,1,2,2,3)
e con array_diff tolgo un array(1,2)
mi ritorna solamente array(3)
come posso far togliere solamente una volta i valori ottenendo, così:
array(1,2,3)
Grazie.
GdR Online - http://lenar.it/
Yesterday is history. Tomorrow is mystery.
Today is a gift. That's why it's called the present
Questo mi elimina i duplicati...io voglio che me li mantenga...
Vorrei ch togliendo un valore venisse tolto solo uno e non due o tre a seconda di quante volte compare quel numero.
GdR Online - http://lenar.it/
Yesterday is history. Tomorrow is mystery.
Today is a gift. That's why it's called the present