Example 1
echo "$tireqty tires <br>";
Example 2
echo $oilqty.' bottles of oil<br>';
Which way is more correct? I like using the format of first example because I don't have to worry about concatenating. I know that for this to work I have to use double quotes.
Would I run into any problems using this form of coding if I try to code more complex stuff?