Variables inside single quotes will not be executed, but double quotes will.
For example,
$name = hello;
echo "the $name";
will output the hello
and if it is a single quote
$name = hello ;
echo the $name;
will output the $name
The main difference is this.
http://www.bkjia.com/PHPjc/486094.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/486094.htmlTechArticleVariables inside single quotes will not be executed, but double quotes will. For example, $name = hello; echo "the $name"; will output the hello, and if it is a single quote, $name = hello; echo the $name; will output...