How to Automatic Copyright Year using PHP

Use the date() function to automatically update the copyright year on your website.

Every Website work date function and easily change year automatic.

Code

&copy; 2015-<?php echo date("Y");?>

Leave a Reply

Your email address will not be published. Required fields are marked *