Question : concaténer 2 variables php
Answered by : joyous-jaguar-ctnnk5onv031
$var1 = "hello";
$var2 = "world";
$concat = $var1.' '.$var2; // $concat ='hello world' (with single quote)
$concat = "$var1 $var2"; // $concat ='hello world' ( with double quote)
Source : | Last Update : Sat, 13 Aug 22