zohab Posted February 2, 2010 Share Posted February 2, 2010 Hi, I have xampp 1.7,php 5.2 ,mysql 5.0 and windows xp. When i user <?=$variable?> not working but <?php echo $variable; ?> working. What are the setting required. on my nearby machine both tags working. Quote Link to comment https://forums.phpfreaks.com/topic/190620-problem-with-php-tag/ Share on other sites More sharing options...
trq Posted February 2, 2010 Share Posted February 2, 2010 Short tags should be avoided for portability sake. However, the setting short_open_tag is the directive that your looking for. Quote Link to comment https://forums.phpfreaks.com/topic/190620-problem-with-php-tag/#findComment-1005308 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.