Newbie here. Both of these seem to work fine, but is there any reason why
one is better than the other?
$myvar = "cheese";
$biscuits = "I just love $myvar biscuits";
or
$biscuits = "I just love" . $myvar . "biscuits";
print($biscuits );
one is better than the other?
$myvar = "cheese";
$biscuits = "I just love $myvar biscuits";
or
$biscuits = "I just love" . $myvar . "biscuits";
print($biscuits );
Comment