Hello, Can anyone explain why on some servers <? is ok but on other servers you need to use <?php Thanks Late
probably just based on the version of php installed. not sure though, could also be that <?php is alreay opened, and you just need <? to declare again
On top of what DKameleon wrote, it's also an option that is deprecated and to be removed in PHP6 I believe. Always use <?php.
Same, only works when short tags are enabled. So don't use it, and, as TwistMyArm said, it's gonna be removed in PHP 6. EDIT: Actually, the normal short tags won't be removed. http://www.php.net/~derick/meeting-...t-for-and-script-language-php-and-add-php-var
Please don't use short openening tags. XHTML pages on the server makes an PHP-error if short openening tags are enabled.