标签: php

1 篇文章

thumbnail
PHP获取当前年份
©后面加当前年份,所以要用到获取年份的代码,添加代码到要显示的地方,代码如下: <?php $currentYear = date('Y'); echo $currentYear; ?>