CodeIgniter Forums

Full Version: Problem with <?=$variable?>
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[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'

El Forum

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

El Forum

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

in php config?

El Forum

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

El Forum

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

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

Thanks