I have just downloaded a PHP blog script and am having a few issues with the syntax used in it.
There are several instances when this code occurs:
<?=$miniblog_posts?>
Now this doesn’t do anything. To get it to work I have to change it to this.
<?php echo $miniblog_posts; ?>
Is this an old way of writting php that is not supported anymore or am I missing something.
I am running PHP V5.3.1
Yeah it’s called short open tags and now are disabled by default. You can change your configuration to enable them but it’s not recommended, cause they will be removed from PHP next version (probably in php 5.4)
Configuration and severals stuffs are detailed in this page : http://php.net/manual/ini.core.php