Which is correct or more correct:
echo "This is a variable: $var.";
or
echo "This is a variable: " . $var;
I've seen some folks have issues using variables in strings and didn't know if that was on the way to depreciation or what.
Strings get angry with arrays in them or if they're single quoted but double quoted it's ok. I tend to go for the second way though just for consistency and to avoid confusion. It's really a point of personal preference throug so this is just my 2p HTH Bubble