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. 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 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; ?> 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; ?> 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 Link to comment https://forums.phpfreaks.com/topic/51458--/#findComment-253442 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.