[PHP] Re: dynamic copyright in page footer?

2011-05-01 Thread Walkinraven
On 04/30/2011 07:06 PM, David Mehler wrote: 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: This works great for a site done in 2011 but next year I'm going to want to have 2011 and 2012 in

Re: [PHP] Re: dynamic copyright in page footer?

2011-04-30 Thread Sharl.Jimh.Tsin
it is very useful to me.thanks. Best regards, Sharl.Jimh.Tsin (From China **Obviously Taiwan INCLUDED**) 2011/4/30 Mark Kelly : > On Saturday 30 Apr 2011 at 14:28 Nathan Rixham wrote: > >> echo implode(",", range(2011,date("Y"))); > > What an elegant solution! Thank you. > > -- > PHP General Ma

Re: [PHP] Re: dynamic copyright in page footer?

2011-04-30 Thread Mark Kelly
On Saturday 30 Apr 2011 at 14:28 Nathan Rixham wrote: > echo implode(",", range(2011,date("Y"))); What an elegant solution! Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: dynamic copyright in page footer?

2011-04-30 Thread Nathan Rixham
David Mehler wrote: 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: echo implode(",", range(2011,date("Y"))); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http