I have the following code in one of my .html template files:
<?
//Check if Logged In
check_logged();
if(!isLogged()){
?>
... HTML stuff...
<?
}
?>
However, the browser or my PHP 5.2.17 is completely ignoring the parsed php tags. I have tried different versions ( <?PHP, <?Php, <?php, or <?= ), but neither work.
I also checked PHP.INI...and have SHORT_OPEN_TAG set to ON.
This was not the case when I was on a different server (and quite possibly a different PHP version).
Any ideas?
Thanks
