concate two values

hii friends…


dear friends...


i don't know how to concatenate the two values..this is my line...it will display in echo format correctly..but i want without echo format


 $con = $var +","+ $val['periods'];

In PHP, the concatenate operator is ’ . ’




$con = $var . "," . $val['periods'];