Echo variable and message together in PHP
Description
The following code shows how to echo variable and message together.
Example
<?php// w ww .j av a 2 s . c o m
$heavyweight = "Lennox Lewis";
$lightweight = "Floyd Mayweather";
echo $heavyweight, " and ", $lightweight, " are great fighters.";
?>
The code above generates the following result.