Answer the question
In order to leave comments, you need to log in
How to get only unique data from the database?
Tell me the format of the query to the database
there is a table (for example):
. id | data_id
-------------------------
1 | 1
-------------------------
2 | 1
-------------------------
3 | 2
-------------------------
4 | 1
-------------------------
5 | 3
data_id = array(1,2,1,3);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question