PHP For Designers : Comments
March 31, 2004
Just a note about single-vs-double quotes and variables. You can always use the concatenate operator: . (a period).
echo “I have $number_cds CDs.”;
You could do:
echo ‘I have ‘.$number_cds.’ CDs.’;
A small speed savings, yes, but a savings, nonetheless.