On 4/3/07, Paul Houle <paul at devonianfarm.com> wrote:
>
> Here are my rules for PHP.
>
> (1) Use ?>...some HTML...<?php as much as feasible
> (2) Avoid heredoc -- it's particularly treacherous in PHP
> (3) Use " in most situations. Use \ to escape ", $ and \.
> (4) Make a habit of writing {$like_this}
>
Nicely put.
--
Chris Snyder
http://chxo.com/