Revision: 7712
Updated Code
at August 11, 2008 22:05 by SeanJA
Updated Code
<p>Copyright © <?php echo ($startYear == date('Y'))? (2005) : (2005.' - '.date('Y'))?> SeanJA </p>
Revision: 7711
Updated Code
at August 8, 2008 00:27 by SeanJA
Updated Code
<?php $startYear = '2005'; $thisYear = date('Y'); ?> <p>Copyright © <?php echo ($startYear == $thisYear)? ($startYear) : ($startYear.' - '.$thisYear); ?> SeanJA </p>
Revision: 7710
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 8, 2008 00:25 by SeanJA
Initial Code
<?php $startYear = '2005'; $thisYear = date('Y'); ?> <p>Copyright © <?php echo ($startYear == $thisYear)? ($startYear) : ($startYear.' - '.$thisYear);?> <?php bloginfo('name'); ?></p>
Initial URL
http://seanja.com/blog
Initial Description
Starting from here: http://snipplr.com/view/2534/update-copyright-date-in-php/ I made one that is a little more sussinct (sp?)
Initial Title
Copyright Updated
Initial Tags
date
Initial Language
PHP