Quote:
Originally Posted by Brad
...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