Answer the question
In order to leave comments, you need to log in
How to properly exclude certain products from the selection?
It is necessary to remove from the list of games those that are already in the Steam account. The array of games on the account is written to the database via serialize. Each game has its own id. How to remove from the selection the games in which the id matches the one in the serialized array?
Answer the question
In order to leave comments, you need to log in
The array of games on the account is written to the database via serialize.
SELECT id FROM table WHERE id NOT IN (SELECT `id` FROM `table2`)
after not in make a query to the user's table, for example, with his games
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question