if ($condition1 && $condition2) { #Block1 } else { #Block2 } [download]
In reply to Re: Better solution for code reduction? by Keystroke in thread Better solution for code reduction? by Limbic~Region