View Single Post
ast3r3x
25 chars of wasted space.
 
Join Date: May 2004
Send a message via AIM to ast3r3x  
2007-11-19, 06:50

Quote:
Originally Posted by Brad View Post
...except that PHP does check single-quoted strings for escaped characters.

[php]<?php $foo = 'Moe\'s Bar'; ?>[/php]

I'll reword. If you plan on using php's noted 'special characters' you need to use a double quoted string. However, it is the slimmest amount faster to use a single quoted string. Information about about what to use when can be seen at php.net
  quote