CodeIgniter Forums
<?php= doesn't work on my dev server - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: <?php= doesn't work on my dev server (/showthread.php?tid=3543)



<?php= doesn't work on my dev server - El Forum - 10-09-2007

[eluser]FuzzyJared[/eluser]
anyone know how I would be able to turn on the short hand echo statements like this within the php.ini file... which I would assume that it would be in.


<?php= doesn't work on my dev server - El Forum - 10-09-2007

[eluser]FuzzyJared[/eluser]
Never mind... I found it.

php.ini file
short_open_tag = ON


<?php= doesn't work on my dev server - El Forum - 10-09-2007

[eluser]Crimp[/eluser]
It's <?=. However, I always use the full <?php echo. I think it's a good practice.