Auto Updating Copywrite Year.

If you’re like me and you make websites. Stop using the .html file extension and use .php. Because if you’re also like me you forget to update the year in the copy write information well here is a simple PHP code to make the year auto update 🙂


&copy; 2017<?php echo date(“Y”); ?>

Leave a Reply

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