Problem with <?=$variable?>


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

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

Any ideas?


Does your host allow short tags ?

How can i check this requirement?

in php config?

<?php phpinfo(); ?>

ok i get the phpinfo.

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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