fubowl Posted May 15, 2007 Share Posted May 15, 2007 Where can I find documentation on using <?=$somevar?> I can use this with godaddy but not my windows box, just wanted to read up on it so I can hopefully fix my machine to accept it. Quote Link to comment https://forums.phpfreaks.com/topic/51458--/ Share on other sites More sharing options...
jitesh Posted May 15, 2007 Share Posted May 15, 2007 in php.ini check short_open_tag = On Quote Link to comment https://forums.phpfreaks.com/topic/51458--/#findComment-253402 Share on other sites More sharing options...
hackerkts Posted May 15, 2007 Share Posted May 15, 2007 <?=$somevar?> This is the same as <? echo $somevar; ?> Quote Link to comment https://forums.phpfreaks.com/topic/51458--/#findComment-253405 Share on other sites More sharing options...
Dragen Posted May 15, 2007 Share Posted May 15, 2007 It's better practice to use <?php echo $somevar; ?> Quote Link to comment https://forums.phpfreaks.com/topic/51458--/#findComment-253440 Share on other sites More sharing options...
taith Posted May 15, 2007 Share Posted May 15, 2007 It's better practice to use <?php echo $somevar; ?> better practice maybe... but i prefer to work outside the box and its only better practice because php doesnt like <?php=$var?> lol Quote Link to comment https://forums.phpfreaks.com/topic/51458--/#findComment-253442 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.