Codeigniter - Centos 6 - PHP - <?= and <??

Asked

Viewed 20 times

3

I have installed in my Windows 7 the xampp to develop a system in Codeigniter. Beauty, no problems.... I use the tags <?= $variavel; ?>, to print something in the view ... it works that is a beauty.

However, recently, I switched to Centos 6, installed PHP 5.3.3 and put my Codeigniter system to the wheel and realized that it presented some errors... broke and broke my head, and found that the problem was in opening php in the view (<?= ... ?>), because when I changed to <?php echo $...; ?>, worked!

Because that?

Is it some version of PHP? or what?

'Cause if I have to change all my code.

  • Thanks friend!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.