don't, just don't


don't use short open tags: <? ?>; always use the long form of the PHP open tag (<?php ?>)

don't use print; use echo

<? // bad print $var; ?>   <?php // good echo $var; ?>
Posted . Did this help you? Please let me know with a comment. Thank you

Comments (RSS)

  1. anonymous

    also never do anything like: extract($_GET);