Skip to content
Advertisement

MySQL where NOT IN except where one

I have threads table for forum. I don’t want select threads of hidden forums but except user’s own threads. My query like this and hidden forum ids in $hiddenforums variable so i want also select user’s own threads;

Advertisement

Answer

Is this what you want?

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement