Php Append Text

[Solved] Php Append Text | Php - Code Explorer | yomemimo.com
Question : php append string

Answered by : graceful-gorilla

<?php
$a = "Hello ";
$b = $a . "World!"; // now $b contains "Hello World!"
$a = "Hello ";
$a .= "World!";     // now $a contains "Hello World!"
?>

Source : https://www.php.net/manual/en/language.operators.string.php | Last Update : Wed, 19 Feb 20

Answers related to php append text

Code Explorer Popular Question For Php