Answer the question
In order to leave comments, you need to log in
How to remove duplicate elements in an array when unloading data from a table?
There is a table in which there is a column with ID users which repeat on some lines. How to remove duplicate elements when displaying this data?
Answer the question
In order to leave comments, you need to log in
the simplest and the first thing that came to mind is to shove the driven IDs into the 2nd array and compare with the original array (table data array), and if there are duplicates, delete them.
or is it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question