sarebbe meglo così!

Codice PHP:
<?php
codice php
.....
codice php
?>
<html>
<head></head>
<body>
<? if (condizione1=vera) { ?>
codice html 1
<? ?>
<? 
if (condizione2=vera) { ?>
codice html 2
<? ?>
</body>
</html>