S
S
Sergey Titov2016-05-18 10:51:00
PHP
Sergey Titov, 2016-05-18 10:51:00

How to remove duplicate element in multidimensional passive?

For example, there is such an array:
fb255caaebfbaa22f556e48070d87075.png
$array[$i][0] - date
$array[$i][1] - id
It is necessary to make sure that there is only one id for one date, without repetitions
ps time should not be taken into account
How What's the best way to go on such an adventure? There were ideas with cycles, but I don’t know if this is advisable, suddenly there are some better solutions, thank you in advance (:

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question