Copyright w/year from


/ Published in: PHP
Save to your folder(s)

`$l` is the year where copyright starts


Copy this code and paste it in your HTML
  1. &copy;<?php echo $l=2010;$c=date('Y');echo $l<$c?"-$c":''; ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.