php stringconcatenation - how to concatenate string in php

php stringconcatenation - how to concatenate string in php


stringconcatenation.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>php stringconcatenation - how to concatenate string in php</title>
</head>

<body>
    <h2 style="color:DodgerBlue; font-style:italic">php example: using stringconcatenation</h2>
    <hr width="400" align="left" color="CornFlowerBlue" />
    <br />

<?php 
 $HiString ="Hi Jones";
 $WellcomeString="wellcome in our php example blog";
 echo "<div style='Color:Orange;Background-color:MistyRose;height:100px; width:375px;padding-left:25px;font-size:large;'>";
  echo "<br />";
  echo "$HiString"."! "."$WellcomeString"; 
 echo "</div>";
?>

</body>
</html>