PHP Syntax Question

Hi,

Need to do this:

$copyright = PHP "Y" - Company - All Rights Reserved;

I need to keep the year inside $copyright
LVL 3
Computer GuyAsked:
Who is Participating?
 
Ray PaseurCommented:
$copyright = '© ' . date('Y') . ' Company - All Rights Reserved';
echo $copyright;
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.