print statement 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: print in php
print_r("");
Example 3: how to show rext in php
<?php
$hello = "HELO";
echo "hello";
if (youwantvar = on) {
echo $hello
}
?>