how to calculate two strings together in php code example Example: php connect strings $string3 = $string1 . $string2;