New to our community ?

Discover a world of possibilities! Join us and explore a vibrant community where ideas flourish and connections thrive.

One of Our Valued Members

Thank you for being part of our community. Your presence enriches our shared experiences. Let's continue this journey together!

Home php codes How to append a string using PHP

How to append a string using PHP

0

Welcome Back to Shortlearner.com, today we will see how to append a string with the help of php.

How to append a string using PHP

in the previous tutorial we see  How to Concatenate two or more string in PHP By using Concatenation assignment operator(.=) we can append a string

with another string.

<?php
$string="Welcome to";
$string.="Shortlearner";
echo $string;
?>

Output will be : Welcome to Shortlearner