Added example of when string concatenation can also be helpful with combination of strings with html tags as this is important to understand when templating say output code from a database transaction.

This commit is contained in:
Dhwani Shah 2015-10-02 14:12:15 -05:00
parent f23d470961
commit fb43ef2942

View File

@ -102,6 +102,8 @@ END;
// String concatenation is done with .
echo 'This string ' . 'is concatenated';
// Strings concatenation can also be combined with html elements
echo 'This string is' . '<strong>' . 'bold with strong tags ' . '</strong>.'
/********************************