Interviewer And Interviewee Guide

Sr. PHP Programmer Interview Question:

How will you concatenate two strings in PHP?

Submitted by: Administrator
To concatenate two string variables together, use the dot (.) operator −

<?php
$string1="Global Guideline";
$string2="Interviews";
echo $string1 . " " . $string2;
?>

This will produce following result:
Global Guideline Interviews
Submitted by:

Read Online Sr. PHP Programmer Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.