Showing posts with label code. Show all posts
Showing posts with label code. Show all posts

Wednesday, October 31, 2012

Display an automatically updating copyright year with PHP

PHP snippet to output the current year:

<?php print date("Y")?>


PHP/HTML working Example
© <?php print date("Y")?>  My Business Name