There is no specific function to append a string in PHP. But you can use the PHP concatenation assignment operator (.=
) to append a string with another string.
Let's check out the following example to understand how it basically works:
<?php
$a = "Hello";
$a .= " World!";
echo $a; // Outputs: Hello World!
?>
i hope you like this small 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 harsukh21@gmail.com
How to customize file input type box using CSS and jQuery
Use the CSS Opacity and Positioning meth...How to get Next Previous Records in Laravel7.x with Example
We all ken that, Laravel is propagating...How to Create REST API in Laravel7 using JWT
Hello Artisan In this tutorial...Laravel 5.5 - Login With Only Mobile Number Using Laravel Custom Auth
Today, we are share with you how to modi...How to Check If the Mouse is Over an Element in jQuery
Use the CSS :hover Pseudo-class You c...