[Solved] How to combine two string in PHP?


$data = "{$username}_Deleted_$var";
or
$data = $username."_Deleted_".$var;

. is in php symbol for concatenating strings, { and } used in string means that anything between this symbol is a variable.

1

solved How to combine two string in PHP?