noon Posted August 30, 2007 Share Posted August 30, 2007 <?php as well as <? both work as starting tags for my php code. Why is this? Is one less supported than the other or just a matter of preference? Link to comment https://forums.phpfreaks.com/topic/67318-php-block-tag/ Share on other sites More sharing options...
Jessica Posted August 30, 2007 Share Posted August 30, 2007 http://www.google.com/search?q=php+short+tags&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a Short Tags may not be on by default, so use <?php, not <? Link to comment https://forums.phpfreaks.com/topic/67318-php-block-tag/#findComment-337740 Share on other sites More sharing options...
noon Posted August 30, 2007 Author Share Posted August 30, 2007 ah, thanks Link to comment https://forums.phpfreaks.com/topic/67318-php-block-tag/#findComment-337747 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.