Incorrect:


<?php echo $header; ?><?php echo $menu; ?>


Incorrect:

<?php echo $header; ?>
<?php echo $menu; ?>


Correct:

<?php
echo $header;
echo $menu;
?>