I have header.php, footer.php and index.php files (I was trying to use index.html but that does not work with XAMPP). What is the best way to go about that? Would I just make all files .php?
header.php
index.php (home page)
about.php
services.php
resources.php
contanct.php
footer.php
...and just keep including whatever I need?
index.php file:
<?php include("header.php)"; include("about.php"); include("footer.php"); ?>
Thank you.