/ 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...
Expand |
Embed | Plain Text
© Copyright <?php $year=date('Y');$start='2008';echo( ($year > $start ? "$start - $year" : "$start") ); ?>, All Rights Reserd.
Comments
Subscribe to comments
You need to login to post a comment.

Wouldn't it be easier to do:
© Copyright - , All Rights Reserved.