if (condition) { code; other_code; } else { bork; } if (condition_2) { foo; } else { i_think_you_get_what_i_mean(); } #### if (condition) { $foo=0; $bar++ } # more code... if (other_condition) { $foo++; }