You can use the PHP concatenation operator (.
) to combine or join two strings together in PHP. This operator is specifically designed for strings. Let's see how it works:
<?php
$str1 = 'Hello';
$str2 = 'World!';
$new_str = $str1 . ' ' . $str2;
echo $new_str; // Outputs: Hello World!
?>
i hope you like this article.
Hi, My name is Harsukh Makwana. i have been work with many programming language like php, python, javascript, node, react, anguler, etc.. since last 5 year. if you have any issue or want me hire then contact me on [email protected]
Laravel 8 Create Dummy Data using laravel/tinker Package
Today we will learn how to engender dumm...Laravel 5.5 - Login With Only Mobile Number Using Laravel Custom Auth
Today, we are share with you how to modi...Laravel 8 Create Events in Fullcalendar using Ajax
In this article,I will show you how you...How to Upload Multiple Files & Images in PHP 7 with MySql Example
In this tutorial, we will learn how to u...10 basic commands that every regular Linux users need to know Part 2
In the previous article, we have di...