echo php

Posted by w3diy - 6 months ago

PHP echo and print Statements

echo php

<?php
echo "<h2>PHP is Great!</h2>";
echo "Hello world!<br>";
echo "I'm about to learn PHP!<br>";
echo "This ", "string ", "was ", "made ", "with multiple parameters.";
?>

print Statements

<?php
print "<h2>PHP is Great!</h2>";
print "Hello world!<br>";
print "I'm about to learn PHP!";
?>