CodeIgniter Forums
Problem with <?=$variable?> - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: Problem with <?=$variable?> (/thread-15352.html)



Problem with <?=$variable?> - El Forum - 02-02-2009

[eluser]haderach[/eluser]
Hi,

I've tried simple examples and i have a problem.

In the view, <?php echo ''.$variable; ?> works
but not <?=$variable?>

Any ideas?

Thanks'


Problem with <?=$variable?> - El Forum - 02-02-2009

[eluser]OES[/eluser]
Does your host allow short tags ?


Problem with <?=$variable?> - El Forum - 02-02-2009

[eluser]haderach[/eluser]
How can i check this requirement?

in php config?


Problem with <?=$variable?> - El Forum - 02-02-2009

[eluser]OES[/eluser]
<?php phpinfo(); ?>


Problem with <?=$variable?> - El Forum - 02-02-2009

[eluser]haderach[/eluser]
ok i get the phpinfo.

What is the config variable to fix?
is it short_open_tag=true?

Thanks