[ create a new paste ] login | about

Link: http://codepad.org/LCpndEBL    [ raw code | output | fork ]

cms - PHP, pasted on Aug 31:
1
2
3
4
5
6
<?
$year = date('Y');
$nextYear = $year + 1;


echo 'This year: ' . $year. ' Next year:' .$nextYear;


Output:
1
This year: 2009 Next year:2010


Create a new paste based on this one


Comments: