In PHP a simple dot or period sign ( . ) is concatenation operator. Concatenation operator join the tow string or tow variable to gather.
For Example
in above echo statement $name and $fname are two variable and "S/O" is direct text.
This will be output
Tanvir S/O Shabir
you can also do like this
echo 'first word' .
$c = 'second word' ;
echo 'b';
this will be output as
first word second word
This is because first echo statement a Dot in the end which show that the output of next echo statement is Concatenated with first echo .
Variables in PHP
PHP Concatenation
Calculation in PHP
If Statements in PHP
if ... else Statements in PHP
Nested IF Structure in PHP
PHP Comparison Operators
Switch Statement in PHP
Logical Operators In PHP
PHP Booleans
FOR Loop in PHP
While Loop In PHP
foreach Loop In PHP
Break Statement
Array In PHP
Associative Array
The Count function
Changing Case Function
Trim Function In PHP
Str_shuffle( ) function
strpos function in PHP
Explode() Function in PHP
Function
Passing Function Arguments
Server Variables
Header Function
Include Function
The require Function