Jump to content

[SOLVED] Simple copyright line


Lee

Recommended Posts

I want to echo out the copyright at the footer of my page (still a noob).

 

Here's what I have in my vars page.

$copyright = '<span class="smallwhite">© 2007 Stone Island Records </span>';

Then I just echo..

<?php echo $copyright; ?>

 

What I really want to do is have php adjust the year for me. So do I have to make 3 variables, one for the copyright symbol, one to display the current year & another to display our name, or is there a simpler way of doing this?

 

Thanks in advance. :)

Link to comment
https://forums.phpfreaks.com/topic/61553-solved-simple-copyright-line/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.