Ads
The spectacular self-updating copyright
This article use's the date. Which is touched on at this article.
Example Code:
CODE
<?php
$year = date("Y");
echo "Copyright ? $year - yourwebpage.com";
?>
Breakdown:
$year is the variable.
date("Y"); gets the current year from the server
echo just echo's out the current year from the server.
Simple. Effective. Usefull.
Sunday May 27, 2007 - 122 reads