Don't use short PHP tags! (use <?php .. ?> not <? .. ?>) Full php tags are better for portability. Not all servers are set up to allow short tags and indeed neither is the standard PHP set up. Zend coding standards also prohibit their use.