The fields inside the double quotation mark are interpreted by the compiler and then output as HTML code.
"The single quotation mark does not explain, the direct output."
Both single and double quotes have their own purpose.
The contents of single quotes are not parsed and are more efficient.
As in the following code:
$url = ' http://www.bkjia.com ';
Single quote output
$output = ' $url ';
Echo ' single quote output: '. $output. '
';
Double quote Output
$output = "$url";
echo "Double quote output:". $output;
?>
The output is as follows:
http://www.bkjia.com/PHPjc/364587.html www.bkjia.com true http://www.bkjia.com/PHPjc/364587.html techarticle The fields inside the double quotes are interpreted by the compiler and then exported as HTML code. "The single quotation mark does not explain, the direct output." Both single and double quotes have their own purpose. ...