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.

Posted By: evinweissenberg on August 22, 2012

Check this one out http://snipplr.com/view/66840/copyright-display/

You need to login to post a comment.