0

Hi, i'm trying to get something to work. I want to do a query with multiples "if not" conditions in a mysql query.

This is working : SELECT * FROM table WHERE column!='value'

This is not working : SELECT * FROM table WHERE column!='value' OR column2!='value'

I've tried all kind of apostrophe and it still not working.

My question is : How can i make multiple "if not" conditions in my mysql query?

Thank you !

3
Contributors
3
Replies
6
Views
6 Years
Discussion Span
Last Post by ifezuec
0

Ok i found the solution myself. I used "AND" instead of "OR" and its working.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.