Re: dynamic copyright in page footer?

From: Date: Sat, 30 Apr 2011 16:54:56 +0000
Subject: Re: dynamic copyright in page footer?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-312597@lists.php.net to get a copy of this message
Hello Dave, echo "<p>Copyright © Dave Mehler, 2011 — ".date("Y")."</p>"; -- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion ------------ Original message ------------ From: David Mehler <dave.mehler@gmail.com> To: php-general Date created: , 2:06:17 PM Subject: [PHP] dynamic copyright in page footer? Hello, I am trying to use php to put a copyright notice in a page footer. I'm using the date function with the "Y" value for the year. Here's the code: <?php echo date ('Y'); ?> This works great for a site done in 2011 but next year I'm going to want to have 2011 and 2012 in the copyright notice, adding an additional year the site's up. I'd appreciate some suggestions i'm very likely overthinking this. Thanks. Dave. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#312597) next »