• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I am getting <? for all instances of where I expect the PHP to be.

#3
[eluser]PhilTem[/eluser]
It is most likely a configuration issue of your webserver. Some configurations allow using
Code:
<?= $meta_title ?>

to automatically echo the succeeding variable, some environments require you to write

Code:
<?php echo $meta_title; ?>

Plus: Is your fileextension .php or anything else? If it's not .php it will not be parsed by the PHP interpreter thus the command <?= is unknown. However, you should not be having any other fileextension but .php when working with CI (except .htaccess)


Messages In This Thread
I am getting <? for all instances of where I expect the PHP to be. - by El Forum - 11-15-2012, 02:02 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.