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? Quote 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 <? Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/67318-php-block-tag/#findComment-337747 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.