how to print echo in php code example
Example 1: PHP echo and print Statements
<?php
echo "<h2>PHP is Fun!</h2>";
echo "Hello world!<br>";
echo "I'm about to learn PHP!<br>";
echo "This ", "string ", "was ", "made ", "with multiple parameters.";
?>
Example 2: echo php
<?php
$string = "Hello, World!";
echo $string;
?>