Answer the question
In order to leave comments, you need to log in
How to select an ID from table 1 - other than the ID that is already in table 2 (in the field called UID)?
How to select an ID from table 1 - other than the ID that is already in table 2 (in the field called UID)?
I am writing a request:
$sql=mysqli_query($link, "SELECT id FROM users where gender='$search_gender' and photo_check='yes'
and id not in (select kogo from likeit where kto = $print_query_id) ORDER BY rand()");
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