if($condition) { print <..... if($variable == 1) { print $anotherVariable; } HTML }