So I created a header.php file to store the basic html markup, but when I try to include it in my php code it just doesn't work. The output is as is like my code on my text editor.
<?php
include ("header.php");
?>
<section class="main-container">
<div class="main-wrapper">
<h2>HOME</h2>
</div>
</section>
</body>
</html>