04-23-2009, 05:46 PM
|
#21 (permalink)
|
|
Moderateur
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
|
Quote:
Originally Posted by allworknoplay
But in PHP you do...
$test = "today\'s a great day";
Do you know if PHP is going to do something like this in the future so we don't have to use backslash if using double quotes?
|
No you don't. In your example, if you echoed $test, the output would be today\'s a great day, backslash and all.
Look no slashes:
PHP Code:
$test = "today's a great day";
|
|
|
|