+ 2
In php what is the difference between '' & "" :
Example: Echo 'hhfododlyd'; And Echo "otsogdogdg";
2 odpowiedzi
+ 2
When printing output, double quoted string expands variable contents. Single quoted string doesn't.
<?php
$org = 'SoloLearn';
echo 'Single quote -> Welcome to $org<br />';
echo "Double quote -> Welcome to $org<br />";
?>