Last active
March 20, 2020 13:01
-
-
Save thexmanxyz/971571dbf9d82a4dc754ec3be1794f39 to your computer and use it in GitHub Desktop.
Simple PHP Copyright Generator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// starting with 2020 = Copyright (c) YOUR BUSINESS, 2020. All rights reserved. | |
// with 2021 and later = Copyright (c) YOUR BUSINESS, 2020-20xx. All rights reserved. | |
// if you want to start at a different year, simply replace every occurence of 2020 with your desired year | |
<div class="container">Copyright © YOUR BUSINESS, <?php echo '2020' . (date('Y') != 2020 ? '-' . date('Y') : '' ); ?>. All rights reserved.</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment