A beginner PHP coder was asking me the other day what code to use to start and end a PHP script. Use the following:
<?php code goes here ?>
I would get in the habit of starting your code with <?php instead of <? now - as it will become easier to integrate with different scripts, other people's coding, and if there are certain settings on your site that don't allow short tags.















