Saturday, October 20, 2012

PHP start tags

don't use "<?" as php start tag ever. always use "<?php"

why?

PHP supports shortened version (i.e <?) only if the option is enabled. however, if the option is disabled, "<?" will not be detected and the your code will be displayed as plain text in browser. 

happy coding!

No comments:

Post a Comment