Copyright Year


 / Published in: PHP
 

URL: http://refactormycode.com/codes/68-copyright-year

Display correctly the Copyright advice

  1. Copyright &copy; 2007<?php echo ( ($Y = intval(date('Y'))) > 2007 ) ? " - $Y" : ''; ?> - All Rights Reserved - Design by ...

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: SevenLayersDesign on March 4, 2011

Convenient. Thanks.

You need to login to post a comment.