01-16-2011, 07:27 PM
|
#4 (permalink)
|
|
The Addict
Join Date: Aug 2008
Posts: 336
Thanks: 8
|
if you still want to use ' to delimit strings you can scape internal ' by escaping them with t backward slash \'
"" display the contents of variables if they are inside of strings like
PHP Code:
<?php
$s = "string";
echo "this is a $s"; //echoes to this is a string
echo 'this is a $s'; //echoes to this is a $s
?>
|
|
|
|