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