[ create a new paste ] login | about

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

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:
posted by t5 on Jan 23
This si tes sdjsfs
reply
posted by t5 on Jan 23
dfasfafad
reply
posted by t5 on Jan 23
This is good and here show all comments
reply
posted by t5 on Jan 23
<?
$year = date('Y');
$nextYear = $year + 1;

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

reply
posted by t5 on Jan 23
<script>
alert('This is');
</script>
reply