/ Published in: PHP

Change only $start variable with your start year.
This very simple code will display two dates the next year like this :
© Copyright 2008 - 2009, All Rights Reserved.
and so on...
This very simple code will display two dates the next year like this :
© Copyright 2008 - 2009, All Rights Reserved.
and so on...
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
© Copyright <?php $year=date('Y');$start='2008';echo( ($year > $start ? "$start - $year" : "$start") ); ?>, All Rights Reserd.
Comments
