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