diff options
author | Dhwani Shah <dshah202@gmail.com> | 2015-10-02 14:12:15 -0500 |
---|---|---|
committer | Dhwani Shah <dshah202@gmail.com> | 2015-10-02 14:12:15 -0500 |
commit | fb43ef2942f29ece285be3e8944c91bde6306095 (patch) | |
tree | 3cd0204717afd86b3bd6ad970de234a3b822ddba /php.html.markdown | |
parent | f23d470961b952b3e6c3aa27ec2c48edd657baf0 (diff) |
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.
Diffstat (limited to 'php.html.markdown')
-rw-r--r-- | php.html.markdown | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/php.html.markdown b/php.html.markdown index 3fcce264..86fb14e5 100644 --- a/php.html.markdown +++ b/php.html.markdown @@ -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>.' /******************************** |