PHP program to explain the use of echo



php source-:

<!DOCTYPE html>
<html>
<body>

<?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.";
?>
  

</body>
</html>

output-:

PHP is Fun!

Hello world!
I'm about to learn PHP!
This string was made with multiple parameters.

0 comments:

Post a Comment

My Instagram