PHP Developer Question:

Download Job Interview Questions and Answers PDF

How To concatenate the two strings together in PHP?

PHP Developer Interview Question
PHP Developer Interview Question

Answer:

You can use the string concatenation operator (.) to join two strings into one. Here is a PHP script example of string concatenation:

<?php
echo 'Hello ' . "world! ";
?>
This script will print:
Hello world!

Download PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
How you can assign a new character in a String using PHP?How to compare the two strings with Comparison Operators in PHP?