<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Tech-Recipes - Latest Comments in PHP: Print the current year for copyright notices | PHP programming | Tech-Recipes</title><link>http://tech-recipes.disqus.com/</link><description>Cookbook of Tech Tutorials</description><language>en</language><lastBuildDate>Thu, 12 Mar 2009 16:55:46 -0000</lastBuildDate><item><title>Re: PHP: Print the current year for copyright notices | PHP programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/2815/php_print_the_current_year_for_copyright_notices/#comment-7152265</link><description>How about only this:&lt;br&gt;&lt;br&gt;&amp;copy; &amp;lt;?php echo date("Y"); ?&amp;gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Emil</dc:creator><pubDate>Thu, 12 Mar 2009 16:55:46 -0000</pubDate></item><item><title>Re: PHP: Print the current year for copyright notices | PHP programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/2815/php_print_the_current_year_for_copyright_notices/#comment-5502095</link><description>&amp;lt;?=date("Y")?&amp;gt; if in html, so:&lt;br&gt;&lt;br&gt;&amp;lt;span&amp;gt;&amp;lt;pre&amp;gt;&amp;copy;&amp;lt;/pre&amp;gt; &amp;lt;?=date("Y")?&amp;gt;&amp;lt;/span&amp;gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">veonexus</dc:creator><pubDate>Fri, 23 Jan 2009 16:59:42 -0000</pubDate></item><item><title>Re: PHP: Print the current year for copyright notices | PHP programming | Tech-Recipes</title><link>http://www.tech-recipes.com/rx/2815/php_print_the_current_year_for_copyright_notices/#comment-4446182</link><description>Why so many echos?&lt;br&gt;&lt;br&gt;Use one echo&lt;br&gt;&lt;br&gt;echo '&amp;copy; ' . date('Y');&lt;br&gt;&lt;br&gt;or&lt;br&gt;&lt;br&gt;sprintf( 'Copyright &amp;copy; %s - All right reserved.', date('Y') );</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sam IT</dc:creator><pubDate>Wed, 17 Dec 2008 00:49:37 -0000</pubDate></item></channel></rss>