Coda Clips

Start and current copyright year dates

<?php
// usage: place your start date into $start variable i.e. $start = '2008'
$start = '<<**SelectionInsertionPlaceholder**>>';
echo( ($start < date('Y') ? 'Copyright &copy; ' . $start . ' - ' . date('Y') . ', all rights reserved' : 'Copyright &copy; ' . $start . ', all rights reserved') );
?>

Added to by Patrick Lefevre

Install Clip


Var Dump

echo '<pre>'; var_dump(); echo '</pre>';

Added to by Derek Reynolds

Install Clip


Basic PHP

<?php
	<<**SelectionInsertionPlaceholder**>>
?>

Added to by Sam Brown

Install Clip


Sponsored Links: