In my index.php file I have a command to retrieve the footer content.
<?php echo file_get_contents('template/footer.php'); ?>
In the footer.php document I have an additional script to get a automatic generated copyright date however when the footer.php document is rendered it isn't executing the php.
<?php echo date("Y"); ?>
Is there a simple fix to this problem? Thanks