php script is not recognized with script tags, if I use then the code runs just fine.
Works:
<?php $layout->sessionFlash(); ?>
Doesn't Work:
<?$layout->sessionFlash();?>
Works:
<?php echo $content_for_layout; ?>
Doesn't Work:
<?=$content_for_layout;?>
This is code taken from another website that works correctly on the server but I am trying to get it working on my local wamp server and I am running into this issue. It is only in the .ctp files.