I'm having a little problem with this scenario.
I have a system wide footer that I've traditionally solved with a server side include. I'm moving to PHP instead, and would like to imbed a short line of PHP code that looks like this:
<?php
echo date("Y");
?>
The code works perfectly in the main page, but never seems to work inside the include or virtual functions. The name of the included files is footer.inc.
First, is this posible?
Second, if so, do I have to do anything special to make it work?