PHP into .tpl files ?

Hi all,
I want to use php code into .tpl file.

Please tell me how i can
execute : <?php $date = date(‘Y’); echo $date;?> into invite.tpl ?

Thanks

[QUOTE=atanasov;42275]Hi all,
I want to use php code into .tpl file.

Please tell me how i can
execute : <?php $date = date(‘Y’); echo $date;?> into invite.tpl ?

Thanks[/QUOTE]

[{php}] $date = date('Y'); echo $date;[{/php}]

thanks a lot !