I am new to PHP and have read tutorials and have created a .php called date.php with the coding:
then if I type in the domain www.autographarcade.com/date.php it works and shows the sentence and the current year which is what I want.
<title>PHP Date Test</title>
Copyright © 2003-<?php
?> Autograph Arcade. All rights reserved.
My problem is, how do I now put this script in front of the words in the other html documents so it shows the current year and I do not have to change hundreds of pages manually every year?
Edit: Wrapped the code in [php][/php] tags