ok, well if you want to include a variable in a string, like the example below
PHP Code:
$variable = 'hello';
echo "Todays word is: $hello";
you MUST use double quotes to print the variable.. compare these:
PHP Code:
$variable = 'hello';
// double quotes
echo "Todays word is: $variable";
// prints Todays word is hello
//single quotes
echo 'Todays word is $variable';
// prints Todays word is $variable
you should always use single quotes unless you are including variables in a string, becuase if you use double quotes, php will look for varibales and insert them... this makes the code slower...
so...
PHP Code:
echo 'Text Without variables in single quotes';
echo "Is better than text without strings in double quotes";