PHP Learning : Concatenate - Publik Talk

Breaking

An informative website for every one.

Post Top Ad

Post Top Ad

Wednesday, August 2, 2017

PHP Learning : Concatenate

Description:

The concatenation opertor(.) is used to put two strings values together.

To concatenate two strings variables together use the concatenation operator.

code:

<?php

$txt1 ="hello world";
$txt2 ="what a nice day";
echo $txt1."".$txt2;

?>


Output:





No comments:

Post a Comment

Post Top Ad