I have a simple goal but I'm having some issues. To save on bandwidth, I'm attempting to make "index.php" load up the separate parts of the page and then when people select areas of the site from the navbar, JUST the middle content changes.. As it stands, the files just have an echo statement to see if anything shows up - but nothing so far. I read about server side includes but I thought that I might be able to do it strictly with PHP. Is this a proper way to address my goal? What am I missing here? Do you need more info? Thanks so much for your time and help! :D
index.php
<html>
<body>
<?php include 'header-navbar.php' ; ?>
<?php include 'content.php' ; ?>
<?php include 'footer.php' ; ?>
</body>
</html>