PHP Concatenation example

1
2
<?php
include('flavor.php');
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
A simple concatenation example with a space at the end of a string before the variable.

2 Responses

We can also make a more robust and cleanly.
1
2
$var = 'Matuzalém Teles';
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
@Matuzalém S. Teles Thanks Matuzalém!

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.