I am trying to make it that if one variable doesn't equal either of three other variables, then it says "error" or something, here is wot i've got, but it dont work
if ($variable != $comp1 OR $comp2 OR $comp3) {
php code
}
Why doesn't that work? And the other thing that bothers me, is that is a really simple thing that should work, but i cant work it out! 🙁