Pew Pew Laser Blog Archives — by Blog ID
PHP Current Year.
Here's a quick PHP snippet which will get the current year (from the PHP server) and display it along with a copyright symbol.
$currYear = date("Y");
echo "© " . $currYear;
Now you can finally stop updating your website's footer every January.
Tags: code php web-development
Authorized users may log-in to leave a comment.
Last Blog: Used Video Games.