You first need to take another step to make the php script run on html pages. If you're using Word Press, you don't need to edit the .htaccess file.
You can skip straight to the Copyright That Spans Several Years section below.
Alternatively, search your web host's site for "How to parse php within html files." Follow its instructions on what code to enter in the .htaccess file.
(Your web host might specify a different process for parsing php in html pages.
Depending on the blogging platform you're using, you may not have access to the .htaccess file. A range of years next to your copyright symbol subtly reminds the visitor how long you've been in business or how long your website has been up. Arun Sinha is president of Access Communications, a digital marketing, content creation and web development company in Stamford, Connecticut, USA.Driver Tuner™ can help you fix driver issues to keep your PC in a healthy state in just a few minutes! The quicker you get Driver Tuner™, the sooner your driver troubles will be gone! Driver Tuner™ can help you update the old drivers with the latest drivers for your computer and increase the ease at which you can run the latest CPU-intensive software such as games. Entering either script won't change the year in the Design view of your html editor.To see the results of entering your script, upload the edited web page to your web server, then go to your browser and reload the page. Copy and paste it wherever you want the current year to appear: And here's the php script: Yes, the php script is simpler, but it may not work just yet. It's actually a good thing, because then you'll be able to run other php scripts on your site, which can be extremely useful.To set up an .htaccess file, open a new file in a text editor like Notepad or Simple Text.