php if both conditions are true code example Example: php multi condition if if($var == "abc" || $var == "def" || ...) { echo "true"; }