How to concatenate two strings in php

<?php
$word1 = "Hello";
$word2 = "friend";
$word3 = $word1." ".$word2;
echo "concatenated string ". $word3;
?>

Published by deeps blog

Programmer

Leave a comment

Design a site like this with WordPress.com
Get started