Home / PHP Tips Generated By ChatGPT / Combining Multiple Strings into One in PHP Concatenate multiple strings using the dot . operator. Source Code $hello = "Hello"; $world = "World"; $message = $hello . ", " . $world . "!"; echo $message; // Outputs: Hello, World!