$opt_a = 1; # this is option a $obt_hoo = 1; # this is option b #### if ( condition 1 && condition 2 && condition 3 ... ) { code to be executed } #/ short desc of if code, if needed. else { else-block code } #/ short desc of else code, if needed.