Welcome to W3Courses
 Like Us on Facebook

Add an Automatic / Dynamic Copyrighted Year Message in PHP

Instead of manually updating the copyrighted message every year, you can add a dynamic and automatic copyrighted year message at the bottom of your website. To do so, include the following code at the bottom of your php files just before the body tag.

      $year= date('Y');
      echo("Copyrighted &copy;$year W3courses.com");