I prefer single quotes on stuff that doesn't need to be parsed. In most cases this is more efficient, though probably not noticed except on a large scale. I also think it makes it easier to include html strings (because double quotes don't need to be escaped) and I find it easier to work my code in Homesite.
echo '<p>'.$something.' '.$something_else.'</p>'; rather than echo "<p>$something $something_else</p>"; --- Peter Hutnick <[EMAIL PROTECTED]> wrote: > Well, here's your chance to criticize a newbie. > > As an exercise in learning PHP I have written a > rot-13 script. It is at > http://hutnick.com/rot13/index.html?show_content=1 . > > I'm soliciting comments on style, technique, etc. > Be brutal, but don't > get your feelings hurt if I don't take your comments > as gospel. > References will help me take comments to heart. > > It will be easier on me if you send or CC comments > to [EMAIL PROTECTED] > > Thanks a million! > > -Peter > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php