concating two string with , in php code example
Example 1: how to add two string in php
Remember dot .
Example 2: php concatenate two variables
$string = "the color is ";
$string .= "red";
echo $string; // gives: the color is red
Remember dot .
$string = "the color is ";
$string .= "red";
echo $string; // gives: the color is red