Welcome to W3Courses
 Like Us on Facebook

Year

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");
?>

Share

XML Data Set of all Months in a Year

Following is the Xml dataset for all months in a year. Please visit Populate Asp.Net DropDownList to see an example of how to use the following code:

Share