how to add multiple condition in if php code example Example: php multi condition if if($var == "abc" || $var == "def" || ...) { echo "true"; }