I have never used PHP at all so this may be a stupid question.
I am trying to include the year in the copyright notice but want it to update year to year. I read that you can do this with:
<?php echo date("Y") ?>
But when I do this:
<details>
<summary>© <?php echo date("Y") ?> My Company</summary>
<p>All rights reserved.</p>
</details>
All I get is:
© My Company
How do I get PHP to display on the page?
P.S. I also tried it with a semicolon as I thought that was the issue, no change:
<?php echo date("Y"); ?>